To get current application path:
MessageBox.Show(Application.ExecutablePath);
To get current user's name:
MessageBox.Show(System.Security.Principal.WindowsIdentity.GetCurrent ().Name);
To get current application name:
MessageBox.Show(Application.ProductName);
MessageBox.Show(Application.ExecutablePath);
To get current user's name:
MessageBox.Show(System.Security.Principal.WindowsIdentity.GetCurrent ().Name);
To get current application name:
MessageBox.Show(Application.ProductName);
No comments:
Post a Comment