/// <summary>
        /// Get the user's IP address and info from the ubisoft servers
        /// </summary>
        public static UserLocationInfo GetUserLocationInfo <T>(this T client) where T : Dragon6Client
        {
            var request = new UserLocationInfoRequest();

            return(client.Perform <UserLocationInfo>(request));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Get the user's IP address and info from the ubisoft servers
        /// </summary>
        public static UserLocationInfo GetUserLocationInfo <T>(this T client, CancellationToken token = default) where T : Dragon6Client
        {
            var request = new UserLocationInfoRequest();

            return(client.Perform <UserLocationInfo>(request, token));
        }