IPWorks OpenPGP 2020 .NET Edition

Questions / Feedback?

Password Property

An optional password for the self-decrypting archive.

Syntax

public string Password { get; set; }
Public Property Password As String

Default Value

""

Remarks

This property specifies a case-sensitive password used to encrypt or decrypt the archive. If set to an empty string (default), no encryption is used.

The maximum supported length of the password is 128 characters.

Example (compressing an SDA archive):


component.ArchiveFile = "c:\test.exe"
component.RecurseSubdirectories = true
component.SourceDirectory = "c:\foo"
component.Password = "nsoftware"
component.CreateSDA()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 .NET Edition - Version 20.0 [Build 8249]