C# 클래스 RemoteViewing.Vnc.VncPasswordChallenge

Provides helper methods which implement the VNC password challenge protocol.
파일 보기 프로젝트 열기: qmfrederik/remoteviewing 1 사용 예제들

공개 메소드들

메소드 설명
GenerateChallenge ( ) : byte[]

Generates a 16-byte challenge.

GetChallengeResponse ( byte challenge, byte password, byte response ) : void

Calculates a response for a password challenge, using a password.

GetChallengeResponse ( byte challenge, char password, byte response ) : void

Calculates a response for a password challenge, using a password.

비공개 메소드들

메소드 설명
ReverseBits ( byte @value ) : byte

Reverses the bits of a byte.

메소드 상세

GenerateChallenge() 공개 정적인 메소드

Generates a 16-byte challenge.
public static GenerateChallenge ( ) : byte[]
리턴 byte[]

GetChallengeResponse() 공개 정적인 메소드

Calculates a response for a password challenge, using a password.
public static GetChallengeResponse ( byte challenge, byte password, byte response ) : void
challenge byte /// The challenge received from the server. ///
password byte /// The password to encrypt the challenge with. ///
response byte /// The response to send back to the server. ///
리턴 void

GetChallengeResponse() 공개 정적인 메소드

Calculates a response for a password challenge, using a password.
public static GetChallengeResponse ( byte challenge, char password, byte response ) : void
challenge byte /// The challenge received from the server. ///
password char /// The password to encrypt the challenge with. ///
response byte /// The response to send back to the server. ///
리턴 void