Hash.CreateSHA256(Byte[]) Method
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.
public:
static System::Security::Policy::Hash ^ CreateSHA256(cli::array <System::Byte> ^ sha256);
public static System.Security.Policy.Hash CreateSHA256 (byte[] sha256);
static member CreateSHA256 : byte[] -> System.Security.Policy.Hash
Public Shared Function CreateSHA256 (sha256 As Byte()) As Hash
Parameters
Returns
A hash object that contains the hash value provided by the sha256
parameter.
Exceptions
The sha256
parameter is null
.
Remarks
The returned Hash object contains only the SHA256 property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.