-
Notifications
You must be signed in to change notification settings - Fork 0
RobloxSession() Class
Loravis edited this page Nov 7, 2023
·
1 revision
The RobloxSession() class is used to authenticate and store Roblox account sessions.
- ulong id
- string name
- string displayName
The LoginAsync method is used to log into a Roblox account, using the .ROBLOSECURITY cookie.
- string roblosecurityCookie
RobloxSession() session = new RobloxSession();
await session.LoginAsync("INSERT_COOKIE_HERE");
Console.WriteLine("Logged in as " + session.name);
Returns the RobloxSession's .ROBLOSECURITY cookie, null if the session isn't logged in.
string roblosecurity = session.GetRoblosecurity();