Determining the computer name I am installing to.

  • Thread starter Thread starter Tim Law
  • Start date Start date
T

Tim Law

I have a deployment project that installs a web
application. I have added an installer class to my
application project that gets called during install.
Using System.DirectoryServices.DirectoryEntry I can add a
group to the computer I am installing on. Currently I am
using the hard coded name of my computer. How can I find
out the name of the computer I am installing to?

FYI: I have tried to use the
System.Windows.Forms.SystemInformation class but it
doesn't seem to be available from my web project
Installer class.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top