My.Computer.Name 总是 return 大写吗?
Does My.Computer.Name always return upper case?
Visual Studio 2012
My.Computer.Name
似乎总是 return 大写的计算机名称。这就是我需要它(大写)的方式,并希望确保它始终是大写。我尽量避免使用 ToUpper
方法,但找不到关于此主题的任何文档。有谁知道 My.Computer.Name
是否总是 return 大写?
不,不是。
We recommend that you use only Internet-standard characters in the computer name. The standard characters are the numbers 0 through 9, uppercase and lowercase letters from A through Z, and the hyphen (-) character. Computer names can't consist entirely of numbers, nor can they contain spaces. The name also can't contain special characters, such as the following:
< > ; : " * + = \ | ? ,
您可以按照此处所述将其更改为小写:http://www.bussink.ch/?p=1369
Visual Studio 2012
My.Computer.Name
似乎总是 return 大写的计算机名称。这就是我需要它(大写)的方式,并希望确保它始终是大写。我尽量避免使用 ToUpper
方法,但找不到关于此主题的任何文档。有谁知道 My.Computer.Name
是否总是 return 大写?
不,不是。
We recommend that you use only Internet-standard characters in the computer name. The standard characters are the numbers 0 through 9, uppercase and lowercase letters from A through Z, and the hyphen (-) character. Computer names can't consist entirely of numbers, nor can they contain spaces. The name also can't contain special characters, such as the following:
< > ; : " * + = \ | ? ,
您可以按照此处所述将其更改为小写:http://www.bussink.ch/?p=1369