Membership.HashAlgorithmType 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.
The identifier of the algorithm used to hash passwords.
public:
static property System::String ^ HashAlgorithmType { System::String ^ get(); };
public static string HashAlgorithmType { get; }
static member HashAlgorithmType : string
Public Shared ReadOnly Property HashAlgorithmType As String
Property Value
The identifier of the algorithm used to hash passwords, or blank to use the default hash algorithm.
Remarks
The HashAlgorithmType property identifies the custom hash algorithm used by the Membership class. You set the HashAlgorithmType property using the hashAlgorithmType
attribute of the membership element.
The .NET Framework enables you to configure custom cryptography classes using the <cryptographySettings>
element configuration section. The HashAlgorithmType property must match the name
attribute of the <nameEntry>
element in a <cryptoNameMapping>
element. For more information, see Mapping Algorithm Names to Cryptography Classes.
If the HashAlgorithmType property is not set, the Membership class uses the hash algorithm set in the validation
attribute of the <machineKey>
element.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기