C# 클래스 BF2Statistics.Gamespy.GamespyUtils

파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 메소드들

메소드 설명
DecodePassword ( string Password ) : string

Decodes a Gamespy encoded password

EncodePassword ( string Password ) : string

Encodes a password to Gamespy format

GsPassEncode ( byte pass ) : byte[]

Gamespy's XOR method to encrypt and decrypt a password

비공개 메소드들

메소드 설명
Gslame ( int num ) : int

Not exactly sure what this does, but i know its used to reverse the encryption and decryption of a string

메소드 상세

DecodePassword() 공개 정적인 메소드

Decodes a Gamespy encoded password
public static DecodePassword ( string Password ) : string
Password string
리턴 string

EncodePassword() 공개 정적인 메소드

Encodes a password to Gamespy format
public static EncodePassword ( string Password ) : string
Password string
리턴 string

GsPassEncode() 공개 정적인 메소드

Gamespy's XOR method to encrypt and decrypt a password
public static GsPassEncode ( byte pass ) : byte[]
pass byte
리턴 byte[]