Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CurrentUserIdentityProvider.cs
Go to the documentation of this file.
1
using
System.Security.Principal
;
2
3
namespace
System.Net.Http
;
4
5
internal
static
class
CurrentUserIdentityProvider
6
{
7
public
static
string
GetIdentity
()
8
{
9
using
WindowsIdentity
windowsIdentity =
WindowsIdentity
.
GetCurrent
();
10
return
windowsIdentity.Name;
11
}
12
}
System.Net.Http.CurrentUserIdentityProvider.GetIdentity
static string GetIdentity()
Definition
CurrentUserIdentityProvider.cs:7
System.Net.Http.CurrentUserIdentityProvider
Definition
CurrentUserIdentityProvider.cs:6
System.Security.Principal.WindowsIdentity.GetCurrent
static WindowsIdentity GetCurrent()
Definition
WindowsIdentity.cs:512
System.Security.Principal.WindowsIdentity
Definition
WindowsIdentity.cs:16
System.Net.Http
Definition
HttpClientJsonExtensions.cs:8
System.Security.Principal
Definition
IIdentity.cs:1
source
System.Net.Http
System.Net.Http
CurrentUserIdentityProvider.cs
Generated by
1.10.0