Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8055589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:26:13+00:00 2026-06-05T08:26:13+00:00

We have ten user-names for the software and due to licensing issues, we need

  • 0

We have ten user-names for the software and due to licensing issues, we need 10 separate machines (10 different IPs). Multiple users can remotely access a machine at the same time, but only one user can be using this program on the machine.
Okay, so here is the deal. I am developing a simple application in c# Visual that shows whether an instance of a program is currently running on the machines (a simple table). It works well.
I thought of adding to the table a column ‘owner’ – who is running the instance of the program on a particular machine. Can I somehow track the IP of the person who remotely logged in and started the process? There is only one account on each machine.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:26:14+00:00Added an answer on June 5, 2026 at 8:26 am

    What you want is to display the owner of the respective process, i.e. the user name that can be seen e.g. using Task Manager or Process Explorer.

    One option to retrieve the owner of a process it to use WMI. This is e.g. decribed in this related question:

    How do I determine the owner of a process in C#?

    If you additionally want to retrieve the user in an RDP session you might want to have a look at the Cassia library, e.g. using code like the following:

    new TerminalServicesManager().CurrentSession.ClientName
    

    to get the client’s host name, or

    new TerminalServicesManager().CurrentSession.UserName 
    

    to get the user name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ten buttons that each correspond to a different number. I'm looking to
I have method where I need to retrieve using EF the last ten entries
Say I have a website which shows the user ten images and asks them
I have a search form that allows users to search on several different fields
I have a web user control where I have ten asp buttons. I want
I have ten check box in the application. if the user press the checkbox
I have ten divs with class pcre in a single div whose id is
I have ten or more(i don't know) tables that have a column named foo
I have ten values in the dataset, numbers 1 - 10 and corresponding values.
I have ten master tables and one Transaction table. In my transaction table (it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.