GetAndSetTime Method
Same as the GetTime method, but system clock is also set to the received time.
Syntax
[VB.NET] Public Sub GetAndSetTime()
[C#] public void GetAndSetTime();
Remarks
This method is similar to the GetTime method, but the system clock is also set to the received time (adjusted for timezone differences).
NOTE: This method has a corresponding asynchronous version (GetAndSetTimeAsync) for use in the Xamarin environment.