IP*Works! OpenPGP V9 - Online Help
IP*Works! OpenPGP V9
Questions / Feedback?

SourceDirectory Property

Directory to be compressed into a self-decrypting archive.

Syntax

[VB.NET]
Public Property SourceDirectory As String

[C#]
public string SourceDirectory {get; set;}

Remarks

This property specifies the name of the directory containing the files to be compressed. This may be a local or absolute path. If the RecurseSubdirectories property is true, all the subdirectories under SourceDirectory will be recursed into, and those files will also be compressed.

Example (Creating a Self-Decrypting Archive)


component.ArchiveFile = "c:\test.exe"
component.RecurseSubdirectories = true
component.SourceDirectory = "c:\foo\"
component.CaptionText = "Testing SDA"
component.BannerText = "Press continue to decompress the archive."
component.CreateSDA()

component.ArchiveFile = "c:\test.exe"
component.SourceFile = "c:\foo\bar.dat"
component.CaptionText = "Testing SDA"
component.BannerText = "Press continue to decompress the archive."
component.CreateSDA()

Default Value

""

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0