Method RequestDeviceToken
RequestDeviceToken(String, String, String)
Generates a device token that can be used for XSTS token acquisition.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.Security.XboxTicket?> RequestDeviceToken (string deviceType = "Win32", string version = "10.0.22000", string authMethod = "ProofOfPossession");
Parameters
Type | Name | Description |
---|---|---|
System.String | deviceType | Type of device. Default is Win32. |
System.String | version | OS version on the device. Default is 10.0.22000 for Windows 11. |
System.String | authMethod | Authentication method used. Default is ProofOfPossession. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<XboxTicket> | If successful, returns an instance of XboxTicket that contains the device token. Otherwise, returns null." |