C# Class OGPB.http

Mostrar archivo 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_oe property

public bool allPlanetsIDed
return bool

currentPlanet public_oe property

public int currentPlanet
return int

development public_oe property

public bool development
return bool

encrypt public_oe property

public Encryption encrypt
return Encryption

gui public_oe property

public GUI gui
return GUI

referer public_oe property

public string referer
return string

server public_oe property

public string server
return string

session public_oe property

public string session
return string

token public_oe property

public string token
return string

version public_oe property

public string version
return string