1 //------------------------------------------------------------------------------
2 // <copyright file="VersionUtil.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
8 * Helper class for performing common operations on Version objects
10 * Copyright (c) 2009 Microsoft Corporation
13 namespace System.Web.Util {
16 internal static class VersionUtil {
18 public static readonly Version Framework00 = new Version(0, 0);
19 public static readonly Version Framework20 = new Version(2, 0);
20 public static readonly Version Framework35 = new Version(3, 5);
21 public static readonly Version Framework40 = new Version(4, 0);
22 public static readonly Version Framework45 = new Version(4, 5);
23 public static readonly Version Framework451 = new Version(4, 5, 1);
24 public static readonly Version Framework452 = new Version(4, 5, 2);
25 public static readonly Version Framework46 = new Version(4, 6);
26 public static readonly Version Framework461 = new Version(4, 6, 1);
27 public static readonly Version Framework463 = new Version(4, 6, 3);
29 // Convenience accessor for the "default" framework version; various configuration
30 // switches can use this as a default value. This value must only be bumped during
31 // SxS releases of the .NET Framework.
32 public static readonly Version FrameworkDefault = Framework40;
33 public const string FrameworkDefaultString = "4.0";