C# 클래스 DdpClient.DdpUtil

파일 보기 프로젝트 열기: JohnnyCrazy/DDPClient-NET 1 사용 예제들

공개 메소드들

메소드 설명
DateTimeToMilliseconds ( System.DateTime date ) : long
GetBase64FromBytes ( byte bytes ) : string
GetBytesFromBase64 ( string base64 ) : byte[]
GetRandomId ( ) : string
GetSHA256 ( string text ) : string
MillisecondsToDateTime ( long unixTimeStamp ) : System.DateTime

메소드 상세

DateTimeToMilliseconds() 공개 정적인 메소드

public static DateTimeToMilliseconds ( System.DateTime date ) : long
date System.DateTime
리턴 long

GetBase64FromBytes() 공개 정적인 메소드

public static GetBase64FromBytes ( byte bytes ) : string
bytes byte
리턴 string

GetBytesFromBase64() 공개 정적인 메소드

public static GetBytesFromBase64 ( string base64 ) : byte[]
base64 string
리턴 byte[]

GetRandomId() 공개 정적인 메소드

public static GetRandomId ( ) : string
리턴 string

GetSHA256() 공개 정적인 메소드

public static GetSHA256 ( string text ) : string
text string
리턴 string

MillisecondsToDateTime() 공개 정적인 메소드

public static MillisecondsToDateTime ( long unixTimeStamp ) : System.DateTime
unixTimeStamp long
리턴 System.DateTime