How to handle sessions for a windows stand alone .net application

i need to handle the sessionid created by load runner for my windows standalone application developed with c# code.

I recorded two scripts and found the session id various, and i have used auto-correlation.

how to handle it manually?