C# Class ClientLauncher.ServerConnector

显示文件 Open project: swganhtools/swganhclientlauncher

Public Methods

Method Description
CreateSessionKey ( ServerInfo theServerInfo, string strUsername, string strPassword ) : bool
ServerConnector ( TextVariables theTextVariables ) : System

Private Methods

Method Description
Decrypt ( byte &arDecryptMe, byte arCRCBytes ) : void
Encrypt ( byte &arEncryptMe, byte arCRCBytes ) : void
GenerateCrc ( byte strChars, ushort nLength, uint nCRCSeed ) : UInt32
PacketRecieve ( IAsyncResult theResult ) : void

Method Details

CreateSessionKey() public method

public CreateSessionKey ( ServerInfo theServerInfo, string strUsername, string strPassword ) : bool
theServerInfo ServerInfo
strUsername string
strPassword string
return bool

ServerConnector() public method

public ServerConnector ( TextVariables theTextVariables ) : System
theTextVariables TextVariables
return System