Net Encryption Library
WriteEncryptionPrefix Property






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class : WriteEncryptionPrefix Property
By default, when encrypting to a string the prefix @KS@ will be written, indicating that the string is encrypted. If turnned off, the IsStringEncrypted or the IsFileEncrypted method will no longer be 100% accurate. In this case if there are non-base64 characters it will be considered encrypted.
Syntax
'Declaration
 
Public Property WriteEncryptionPrefix As System.Boolean
'Usage
 
Dim instance As Encryption
Dim value As System.Boolean
 
instance.WriteEncryptionPrefix = value
 
value = instance.WriteEncryptionPrefix
public System.bool WriteEncryptionPrefix {get; set;}
public read-write property WriteEncryptionPrefix: System.Boolean; 
public function get,set WriteEncryptionPrefix : System.boolean
public: __property System.bool get_WriteEncryptionPrefix();
public: __property void set_WriteEncryptionPrefix( 
   System.bool value
);
public:
property System.bool WriteEncryptionPrefix {
   System.bool get();
   void set (    System.bool value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Encryption Class
Encryption Members