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
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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