Mukund's Ideas
Pages
Home
Jul 3, 2010
How to find the System Name in C#
Lets make use of the Namespace
using System.Security.Principal;
to find the System name.
Below is the code:
lblSysNo.Text = WindowsIdentity.GetCurrent().Name.ToString();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment