如果Windows运行是服务器版本,我该怎么办? [英] How can I get if the Windows running is a server version?

查看:89
本文介绍了如果Windows运行是服务器版本,我该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果运行的Windows是服务器版本,我该怎么办?


是否有某个属性可以告诉我Windows是否版本是一个

服务器版本(包括服务器,高级服务器,网络服务器等)或只是

a工作站(如果它不是工作站,那么它'' sa服务器)。我的应用必须

出于安全原因验证。它应该至少在Windows上工作

2000(Windows 98和ME,我会很感激,但是如果它不可能的话,那么我会把它放进去系统要求)


谢谢


ThunderMusic

Hi,
How can I get if the Windows running is a server version?

Is there a property somewhere that can tell me if the Windows version is a
server edition (including server, advanced server, web server, etc) or just
a workstation (if it''s not a workstation, then it''s a server). My app must
verifies that for security reasons. It should work from at least windows
2000 (Windows 98 and ME, would appreciated to, but if it''s not possible,
I''ll put it in the system requirements)

Thanks

ThunderMusic

推荐答案

只是为了确定,我的意思是来自至少Windows 2000,我的意思是来自

Windows 2000及以上(所以XP和2003,等等)


" ThunderMusic" < NO.danlat.at.hotmail.com.SPAM>一个écritdansle message de

新闻:OW ************** @ TK2MSFTNGP09.phx.gbl ...
Just to be sure, what I mean by "from at least Windows 2000", I mean "from
Windows 2000 and up (so XP and 2003, et al.)

"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> a écrit dans le message de
news: OW**************@TK2MSFTNGP09.phx.gbl...

如果Windows运行的是服务器版本,我该怎么办?

是否有某个属性可以告诉我Windows版本是否是服务器版本(包括服务器,高级服务器,Web服务器等)或者只是一个工作站(如果它不是工作站,那么它就是服务器)。出于安全原因,我的应用程序必须验证。它至少应该起作用于Windows 2000(Windows 98和ME,我会很感激,但如果它不可能,我会把它放在系统要求中)

谢谢

ThunderMusic
Hi,
How can I get if the Windows running is a server version?

Is there a property somewhere that can tell me if the Windows version is a
server edition (including server, advanced server, web server, etc) or
just a workstation (if it''s not a workstation, then it''s a server). My app
must verifies that for security reasons. It should work from at least
windows 2000 (Windows 98 and ME, would appreciated to, but if it''s not
possible, I''ll put it in the system requirements)

Thanks

ThunderMusic



ThunderMusic,

你看过System.Environment吗? .OSVersion?


有关详细信息,请参阅:
http://support.microsoft.com/kb/304289

-

希望这会有所帮助

Jay [MVP - 展望]

TS布拉德利 - http://www.tsbradley.net

" ; ThunderMusic" < NO.danlat.at.hotmail.com.SPAM>在消息中写道

新闻:OW ************** @ TK2MSFTNGP09.phx.gbl ...

|

|如果Windows运行是服务器版本,我该如何获得?

|

|是否有某个属性可以告诉我Windows版本是否为
|服务器版(包括服务器,高级服务器,网络服务器等)或

只需

|工作站(如果它不是工作站,那么它是一个服务器)。我的应用必须

|出于安全原因验证。它至少应该起到窗口的作用

| 2000(Windows 98和ME,非常感谢,但如果不可能的话,

|我会把它放在系统要求中)

|

|谢谢

|

| ThunderMusic

|

|
ThunderMusic,
Have you looked at System.Environment.OSVersion?

For details see:
http://support.microsoft.com/kb/304289
--
Hope this helps
Jay [MVP - Outlook]
T.S. Bradley - http://www.tsbradley.net
"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
| Hi,
| How can I get if the Windows running is a server version?
|
| Is there a property somewhere that can tell me if the Windows version is a
| server edition (including server, advanced server, web server, etc) or
just
| a workstation (if it''s not a workstation, then it''s a server). My app must
| verifies that for security reasons. It should work from at least windows
| 2000 (Windows 98 and ME, would appreciated to, but if it''s not possible,
| I''ll put it in the system requirements)
|
| Thanks
|
| ThunderMusic
|
|


谢谢,但它给了我运行的Windows版本,95,98, 2000,xp,

2003等等,但它并没有告诉我Windows版本是服务器还是

工作站,即使两个版本号都相同(如果我不是

错误的话)。无论是win9x,2000,xp还是2003对我都没关系,我只想知道它是工作站(或家庭,或专业)或服务器。


还有另一种方法可以知道吗? (通过方法,财产甚至是注册表

键)


谢谢


" Jay B哈洛[MVP - Outlook]" < JA ************ @ tsbradley.net> écritdans

le message de news:Ok ************** @ TK2MSFTNGP10.phx.gbl ...
Thanks, but it gives me the version of windows running, 95, 98, 2000, xp,
2003, etc, but it doesn''t tell me if the Windows edition is server or
workstation, even the build numbers are the same for both(if I''m not
mistaken). Whether it is win9x, 2000, xp or 2003 doesn''t matter to me, I
just want to know if it''s workstation(or home, or pro) or server.

Is there another way to know? (by a method, a property or even a registry
key)

Thanks

"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> a écrit dans
le message de news: Ok**************@TK2MSFTNGP10.phx.gbl...
ThunderMusic,
你看过System.Environment.OSVersion吗?

有关详细信息,请参阅:
http://support.microsoft.com/kb/304289

-
希望这会有所帮助
Jay [ MVP - 展望]
TS布拉德利 - http://www.tsbradley.net

" ; ThunderMusic" < NO.danlat.at.hotmail.com.SPAM>在消息中写道
新闻:OW ************** @ TK2MSFTNGP09.phx.gbl ...
|
|如果Windows运行的是服务器版本,我该怎么办?
|
|是否有某个属性可以告诉我Windows版本是否

服务器版(包括服务器,高级服务器,网络服务器等)或
只是
|工作站(如果它不是工作站,那么它是一个服务器)。我的应用
必须
|出于安全原因验证。它应该至少从windows
|开始工作2000(Windows 98和ME,非常感谢,但如果不可能的话,
|我会把它放在系统要求中)
|
|谢谢
|
| ThunderMusic
|
|
ThunderMusic,
Have you looked at System.Environment.OSVersion?

For details see:
http://support.microsoft.com/kb/304289
--
Hope this helps
Jay [MVP - Outlook]
T.S. Bradley - http://www.tsbradley.net
"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
| Hi,
| How can I get if the Windows running is a server version?
|
| Is there a property somewhere that can tell me if the Windows version is
a
| server edition (including server, advanced server, web server, etc) or
just
| a workstation (if it''s not a workstation, then it''s a server). My app
must
| verifies that for security reasons. It should work from at least windows
| 2000 (Windows 98 and ME, would appreciated to, but if it''s not possible,
| I''ll put it in the system requirements)
|
| Thanks
|
| ThunderMusic
|
|



这篇关于如果Windows运行是服务器版本,我该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆