IsNullOrEmpty name Then Continue For End If For Each subKeyName In versionKey. . Win32 Public Module VersionTest Public Sub Main GetVersionFromEnvironment End Sub Private Sub GetVersionFromEnvironment Console. Win32 Public Module VersionTest Public Sub Main GetVersionFromRegistry End Sub Private Sub GetVersionFromRegistry ' Opens the registry key for the. IsNullOrEmpty name { continue; } foreach var subKeyName in versionKey. IsNullOrEmpty install Then ' No install info; it must be in a child subkey.
IsNullOrEmpty install Then ' No install info; it must be later. OpenSubKey subkey { if ndpKey! Version object identifies the version of the runtime that's currently executing the code. OpenSubKey versionKeyName ' Get the. OpenSubKey subkey If ndpKey IsNot Nothing AndAlso ndpKey. A non-null release key should mean ' that 4. .
. . . . . .
. . . . . .
. . . . .
. . . . . .
. . . . . . .
. . . . . . .
. . . . . .