C# Class OGPB.http

Show file Open project: Th3ClosetG33k/OGame-Planet-Builder-V2 Class Usage Examples

Public Properties

Property Type Description
allPlanetsIDed bool
currentPlanet int
development bool
encrypt Encryption
gui GUI
referer string
server string
session string
token string
version string

Public Methods

Method Description
CommunicateWithServer ( string page, string toSend ) : string
DownloadFile ( string URL ) : string
Login ( string Username, string Password ) : string
NeedUpdate ( ) : bool
PostFile ( string URL, string post ) : string

Private Methods

Method Description
PrepareRequest ( string URL ) : HttpWebRequest
ReadResponseContent ( WebResponse response ) : string

Method Details

CommunicateWithServer() public method

public CommunicateWithServer ( string page, string toSend ) : string
page string
toSend string
return string

DownloadFile() public method

public DownloadFile ( string URL ) : string
URL string
return string

Login() public method

public Login ( string Username, string Password ) : string
Username string
Password string
return string

NeedUpdate() public method

public NeedUpdate ( ) : bool
return bool

PostFile() public method

public PostFile ( string URL, string post ) : string
URL string
post string
return string

Property Details

allPlanetsIDed public property

public bool allPlanetsIDed
return bool

currentPlanet public property

public int currentPlanet
return int

development public property

public bool development
return bool

encrypt public property

public Encryption encrypt
return Encryption

gui public property

public GUI gui
return GUI

referer public property

public string referer
return string

server public property

public string server
return string

session public property

public string session
return string

token public property

public string token
return string

version public property

public string version
return string