Skip to content

Commit b136710

Browse files
authored
fix min DWORD value (#843)
* fix min DWORD value * fix min DWORD value
1 parent 503e61d commit b136710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snippets/csharp/framework/migration-guide/versions-installed3.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private static void Get45PlusFromRegistry()
2525
// Checking the version using >= enables forward compatibility.
2626
string CheckFor45PlusVersion(int releaseKey)
2727
{
28-
if (releaseKey >= 528049)
28+
if (releaseKey >= 528040)
2929
return "4.8 or later";
3030
if (releaseKey >= 461808)
3131
return "4.7.2";

snippets/visualbasic/framework/migration-guide/versions-installed3.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Public Module GetDotNetVersion
1919

2020
' Checking the version using >= will enable forward compatibility.
2121
Private Function CheckFor45PlusVersion(releaseKey As Integer) As String
22-
If releaseKey >= 528049 Then
22+
If releaseKey >= 528040 Then
2323
Return "4.8 or later"
2424
Else If releaseKey >= 461808 Then
2525
Return "4.7.2"

0 commit comments

Comments
 (0)