MacAlgorithmProvider.MacLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the length, in bytes, of the message authentication code.
public:
property unsigned int MacLength { unsigned int get(); };
uint32_t MacLength();
public uint MacLength { get; }
var uInt32 = macAlgorithmProvider.macLength;
Public ReadOnly Property MacLength As UInteger
Property Value
Number of bytes in the MAC.
Remarks
You should verify that the length of the computed HMAC equals the length supported by the specified algorithm. For more information, see the following example.