System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / Message Class / EncryptionAlgorithm Property



In This Topic
    EncryptionAlgorithm Property (Message)
    In This Topic
    Gets or sets the encryption algorithm used to encrypt the body of a private message.
    Syntax
    'Declaration
     
    
    Public Property EncryptionAlgorithm As EncryptionAlgorithm
    'Usage
     
    
    Dim instance As Message
    Dim value As EncryptionAlgorithm
     
    instance.EncryptionAlgorithm = value
     
    value = instance.EncryptionAlgorithm
    public EncryptionAlgorithm EncryptionAlgorithm {get; set;}
    public:
    property EncryptionAlgorithm EncryptionAlgorithm {
       EncryptionAlgorithm get();
       void set (    EncryptionAlgorithm value);
    }

    Property Value

    One of the EncryptionAlgorithm enumeration values. The default is RC2.
    Exceptions
    ExceptionDescription
    The message queue is filtered to ignore the EncryptionAlgorithm property.
    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