New auth system APIs - do not mix with the old auth system APIs.
----------------------------------------------------------------
Retrieve ticket to be sent to the entity who wishes to authenticate you ( using BeginAuthSession API ).
pcbTicket retrieves the length of the actual ticket.
public static HAuthTicket GetAuthSessionTicket(byte[] pTicket, int cbMaxTicket, out uint pcbTicket) { InteropHelp.TestIfAvailableGameServer(); return (HAuthTicket)NativeMethods.ISteamGameServer_GetAuthSessionTicket(pTicket, cbMaxTicket, out pcbTicket); }