C# 클래스 BF2Statistics.Gamespy.CDKeyServer

This class is used to replicate the Gamespy CD key servers. All cd keys received are automatically considered valid and a positve response is replied to the bf2 server
master.gamespy.com:29910
상속: GamespyUdpSocket
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 메소드들

메소드 설명
CDKeyServer ( LogWriter DebugLog ) : System

Creates a new instance of CDKeyServer

Shutdown ( ) : void

Closes the underlying socket

보호된 메소드들

메소드 설명
ProcessAccept ( GamespyUdpPacket Packet ) : void

Called when a connection comes in on the CDKey server

비공개 메소드들

메소드 설명
ConvertToKeyValue ( string parts ) : string>.Dictionary

Converts a received parameter array from the client string to a keyValue pair dictionary

Xor ( string s ) : string

Encrypts / Descrypts the CDKey Query String

메소드 상세

CDKeyServer() 공개 메소드

Creates a new instance of CDKeyServer
public CDKeyServer ( LogWriter DebugLog ) : System
DebugLog BF2Statistics.Logging.LogWriter The GamespyDebug.log logwriter object
리턴 System

ProcessAccept() 보호된 메소드

Called when a connection comes in on the CDKey server
protected ProcessAccept ( GamespyUdpPacket Packet ) : void
Packet BF2Statistics.Gamespy.Net.GamespyUdpPacket
리턴 void

Shutdown() 공개 메소드

Closes the underlying socket
public Shutdown ( ) : void
리턴 void