Definition at line 7 of file NegotiationInfoClass.cs.
8 {
10 {
12 {
14 }
15 return null;
16 }
17 bool success = false;
18 try
19 {
23 {
24 System.
Net.
NetEventSource.
Info(
null, $
"packageInfo:{intPtr} negotiationState:{negotiationState:x}",
"GetAuthenticationPackageName");
25 }
26 if (negotiationState == 0 || negotiationState == 1)
27 {
30 {
31 System.
Net.
NetEventSource.
Info(
null, $
"packageInfo:{intPtr} negotiationState:{negotiationState:x} name:{text}",
"GetAuthenticationPackageName");
32 }
34 }
35 }
36 finally
37 {
38 if (success)
39 {
41 }
42 }
43 return null;
44 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static unsafe? string PtrToStringUni(IntPtr ptr)
void DangerousAddRef(ref bool success)
IntPtr DangerousGetHandle()
References System.Runtime.InteropServices.SafeHandle.DangerousAddRef(), System.Runtime.InteropServices.SafeHandle.DangerousGetHandle(), System.Runtime.InteropServices.SafeHandle.DangerousRelease(), System.Net.NetEventSource.Info(), System.Runtime.InteropServices.SafeHandle.IsInvalid, System.Net.NetEventSource.Log, System.Name, System.Runtime.InteropServices.Marshal.PtrToStringUni(), and System.text.