the .net framework provides windowsidentity class that contains methods and properties for detecting the current windows user of the program.
c# tutorial: obtaining windows user details

c# tutorial: obtaining windows user details
Website Link | Visit Link Here |
---|---|
Category | Basics |