open All Channels
seplocked EVE Technology Lab
blankseplocked .Net and in-game board
This thread is older than 90 days and has been locked due to inactivity.

Author Topic

The Einherji
Posted - 2008.12.01 10:04:00 - [1]

Anyone got example code for accessing the user information via the in-game board using .net?

Etil DeLaFuente
Posted - 2008.12.02 22:02:00 - [2]

// Stores informations in viewstate
protected void Page_Load(object sender, EventArgs e)
if (!IsPostBack && Request.Headers["Eve.Trusted"] == "yes")
ViewState.Add("Eve.Trusted", Request.Headers["Eve.Trusted"]);
ViewState.Add("Eve.Charname", Request.Headers["Eve.Charname"]);
ViewState.Add("Eve.Charid", Request.Headers["Eve.Charid"]);
ViewState.Add("Eve.Corpname", Request.Headers["Eve.Corpname"]);
ViewState.Add("Eve.Corpid ", Request.Headers["Eve.Corpid "]);
ViewState.Add("Eve.Alliancename", Request.Headers["Eve.Alliancename"]);
ViewState.Add("Eve.Allianceid", Request.Headers["Eve.Allianceid"]);

// Display Character portrait from Eve API
protected override void OnPreRender(EventArgs e)
if (!IsPostBack && (string)ViewState["Eve.Trusted"]=="yes")
imgChar.ImageUrl = String.Format("portrait:{0}", ViewState["Eve.Charid"]);
lnkCharInfo.NavigateUrl = String.Format("showinfo:1//{0}", ViewState["Eve.Charid"]);
lnkCharInfo.Text = String.Format("{0}", ViewState["Eve.Charname"]);


Etil DeLaFuente
Posted - 2008.12.02 22:05:00 - [3]

For some documentations about the IGB


This thread is older than 90 days and has been locked due to inactivity.


The new forums are live

Please adjust your bookmarks to

These forums are archived and read-only