terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Initialize()

void System.Net.NTAuthentication.Initialize ( bool isServer,
string package,
NetworkCredential credential,
string spn,
ContextFlagsPal requestedContextFlags,
global::System::Security::Authentication::ExtendedProtection::ChannelBinding channelBinding )
inlineprivate

Definition at line 160 of file NTAuthentication.cs.

161 {
162 if (!true)
163 {
164 }
165 bool isEnabled = NetEventSource.IsEnabled;
166 int num = global::System.Net.Security.NegotiateStreamPal.QueryMaxTokenSize(package);
167 this._spn = spn;
168 this._tokenSize = num;
172 bool isEnabled2 = NetEventSource.IsEnabled;
173 string spn2 = this._spn;
174 if (spn2 == null || spn2 != null)
175 {
177 NetEventSource.Info(this, formattableString, "Initialize");
178 bool isServer2 = this._isServer;
179 global::System.Net.Security.SafeFreeCredentials safeFreeCredentials = global::System.Net.Security.NegotiateStreamPal.AcquireCredentialsHandle(package, isServer2, credential);
180 return;
181 }
182 throw new ArrayTypeMismatchException();
183 }
class f__AnonymousType0<< Count > j__TPar

References System.Net.NTAuthentication._isServer, System.Net.NTAuthentication._spn, System.Net.NetEventSource.Info(), System.Net.NetEventSource.IsEnabled, and j__TPar.

Referenced by System.Net.NTAuthentication.NTAuthentication().