Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline Kevin R  
#1 Posted : Wednesday, May 15, 2019 6:06:26 PM(UTC)
Kevin R

Rank: Paid support

Joined: 8/27/2015(UTC)
Posts: 7
United States
Location: Flower Mound, TX

Thanks: 2 times
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.

Edited by moderator Thursday, May 16, 2019 2:53:02 PM(UTC)  | Reason: Not specified

Offline Support  
#2 Posted : Thursday, May 16, 2019 2:52:56 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,209

Thanks: 871 times
Was thanked: 446 time(s) in 424 post(s)
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!
thanks 1 user thanked Support for this useful post.
Kevin R on 5/17/2019(UTC)
Offline Kevin R  
#3 Posted : Friday, May 17, 2019 10:27:03 PM(UTC)
Kevin R

Rank: Paid support

Joined: 8/27/2015(UTC)
Posts: 7
United States
Location: Flower Mound, TX

Thanks: 2 times
Originally Posted by: Support Go to Quoted Post
You can use clientObj.Decrypt/Encrypt or serverObj.Decrypt/Encrypt method on that object.


Great, thank you!!!
Offline Kevin R  
#4 Posted : Friday, May 17, 2019 10:36:26 PM(UTC)
Kevin R

Rank: Paid support

Joined: 8/27/2015(UTC)
Posts: 7
United States
Location: Flower Mound, TX

Thanks: 2 times
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
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Scroll to Top