D
DC
How do I get Computer Name using VB.Net?
TIA,
- DC
TIA,
- DC
* "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