Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vb.net betriebssystem ermitteln

Empfohlene Antworten

Veröffentlicht

hallo,

weiß jemand wie ich das aktuelle betriebssystem mit vb.net ermitteln kann?

habe bisher:

        Dim os As OperatingSystem = Environment.OSVersion


        MsgBox(os.Platform.ToString)

        MsgBox(os.Version.ToString)

probiert und kriege als ergebnisse:

- Win32NT

- 5.1.2600.0

weiß jetzt aber nicht wirklich was ich damit anfangen soll.

eigentlich muss ich nur wissen ob XPprof. installiert ist oder nicht.

danke

lg

jasso

Schau mal hier, vielleicht hilft dir das weiter.

Gruß,

Landaley

OSVersion.Version = 5.1 ist XP

OSVersion.Version = 5.2 ist Server 2003

was willst du sonst noch wissen - Service Pack, Suite bzw. Edition?

s'Amstel

http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraskdr/html/askgui06042002.asp

du suchst wSuiteMask.

beachte im bespiel vom link die folgende passage:

ElseIf osinfo.Version.Major = 5 Then

            ' Windows 2000 or XP

            If osverinfo.wProductType = VER_NT_WORKSTATION Then

                ' This is a workstation verion

                If (osverinfo.wSuiteMask And VER_SUITE_PERSONAL) = _

VER_SUITE_PERSONAL Then

                    Return "Personal"

                Else

                    Return "Professional"

                End If

such dir die richtige kombination aus Version.Major, osverinfo.wProductType und osverinfo.wSuiteMask heraus.

eine davon müsste XP Professional entsprechen.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.