D
DC
How do I get Computer Name using VB.Net?
TIA,
- DC
TIA,
- DC
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
* "Rich Wallace said:System.Environment.MachineName.ToString
* "DC said:How do I get Computer Name using VB.Net?
Herfried K. Wagner said:It's already a string, you don't need a 'ToString'.
* "foo said:Just for discussion, would it be more robust to use the ToString( ) method
anyway, just in case the string is implemented as some other sort of object
in the future? I'm just brainstorming...
Just for discussion, would it be more robust to use the ToString( )
method anyway, just in case the string is implemented as some other
sort of object in the future? I'm just brainstorming...
* Chris Woodruff said:Nope, it's _very_ unlikely they would change the data type. The only thing
that you would be doing is calling another method
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.