GetUnicodeBytes() public method

public GetUnicodeBytes ( ) : byte[]
return byte[]
 public static SqlBytes Sha256(SqlString text)
 {
     HashAlgorithm hash = new SHA256Managed();
     return new SqlBytes(hash.ComputeHash(text.GetUnicodeBytes()));
 }