CustomAuthValues
How do I use Custom Auth Values
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
863 | Debug.WriteLine("Can't authenticate on front end server. CustomAuthValues is null"); | 1 |
File name: ChatClient.cs
Copy
854 private bool AuthenticateOnFrontEnd()
855 {
856 if (CustomAuthenticationValues != null)
857 {
858 var d = new Dictionary
859 return this.chatPeer.OpCustom((byte)ChatOperationCode.Authenticate, d, true);
860 }
861 else
862 {
863 Debug.WriteLine("Can't authenticate on front end server. CustomAuthValues is null");
864 }
865 return false;
866 }
CustomAuthValues 100 lượt xem
Gõ tìm kiếm nhanh...