ArchiveDecompress API Method - VisualCron - Forum

Community forum

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.
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.
Scroll to Top