C# Класс NetSeal_Helper.Extensions.StringExtensions

A set of Extensions for Strings
Показать файл Открыть проект

Открытые методы

Метод Описание
FromBase64String ( this base64String ) : byte[]

Returns the byte[] from a Base64 string

GetAsciiBytes ( this input ) : byte[]

Resturns the byte[] from a string using ASCIIEncoding

GetMD5 ( this input, string format ) : string

Returns the MD5 of a string

GetSHA1 ( this input, string format ) : string

Returns the SHA1 of a string

Описание методов

FromBase64String() публичный статический Метод

Returns the byte[] from a Base64 string
public static FromBase64String ( this base64String ) : byte[]
base64String this
Результат byte[]

GetAsciiBytes() публичный статический Метод

Resturns the byte[] from a string using ASCIIEncoding
public static GetAsciiBytes ( this input ) : byte[]
input this
Результат byte[]

GetMD5() публичный статический Метод

Returns the MD5 of a string
public static GetMD5 ( this input, string format ) : string
input this
format string The format which will be used to format each byte
Результат string

GetSHA1() публичный статический Метод

Returns the SHA1 of a string
public static GetSHA1 ( this input, string format ) : string
input this
format string The format which will be used to format each byte
Результат string