System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / DefaultPropertiesToSend Class / HashAlgorithm Property



In This Topic
    HashAlgorithm Property (DefaultPropertiesToSend)
    In This Topic
    Gets or sets the hashing algorithm used when authenticating messages or creating a digital signature for a message.
    Syntax
    'Declaration
     
    
    Public Property HashAlgorithm As HashAlgorithm
    'Usage
     
    
    Dim instance As DefaultPropertiesToSend
    Dim value As HashAlgorithm
     
    instance.HashAlgorithm = value
     
    value = instance.HashAlgorithm
    public HashAlgorithm HashAlgorithm {get; set;}
    public:
    property HashAlgorithm HashAlgorithm {
       HashAlgorithm get();
       void set (    HashAlgorithm value);
    }

    Property Value

    One of the HashAlgorithm enumeration values. The default is MD5.
    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