GetUnicodeBytes() public method

public GetUnicodeBytes ( ) : byte[]
return byte[]
コード例 #1
0
 public static SqlBytes Sha256(SqlString text)
 {
     HashAlgorithm hash = new SHA256Managed();
     return new SqlBytes(hash.ComputeHash(text.GetUnicodeBytes()));
 }