Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Kevin R
2019-05-15T16:06:26Z
I would like to access info from an ArchiveDecompress task. I would like to either get the password that is stored or at a minimum be able to see if the task is marked to use a password on extraction. Right now I don't see anywhere in the API that indicates if the archive uses a password or not, so I'm thinking that is encoded in the ArchiveDecompress.PassWord method.

Here's what I'm trying to use that does not give me usable string: [string][System.Text.Encoding]::ASCII.GetString($_.ArchiveDecompress.PassWord)

Any help would be appreciated.
Sponsor
Forum information
Support
2019-05-16T12:52:56Z
You can use clientObj.Decrypt/Encrypt or serverObj.Decrypt/Encrypt method on that object.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Kevin R
2019-05-17T20:27:03Z
Originally Posted by: Support 

You can use clientObj.Decrypt/Encrypt or serverObj.Decrypt/Encrypt method on that object.



Great, thank you!!!
Kevin R
2019-05-17T20:36:26Z
One more question. Is there a way to see if "Usepassword" is checked via API? I'm having trouble finding it, if so.
Users browsing this topic
Scroll to Top