Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

c# app id

Hi Experts,

I'm trying to find the c# app id that my application will get, can't find it.   Where is it?

I need it to plug into windows to configure a certificate for HTTPS to get HttpListener working.

Thanks,
Mike
ASKER CERTIFIED SOLUTION
Avatar of s_chilkury
s_chilkury
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you are talking about process ID you may use the following code:

        private void button9_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process pro = System.Diagnostics.Process.GetCurrentProcess();

            MessageBox.Show(pro.Id.ToString() + " / " + pro.ProcessName + " / " +pro.ToString());
        }

Open in new window

Avatar of thready
thready

ASKER

Thank you! :-)