[Mono.Security]: Add internal 'MonoTlsProviderFactory.InternalVersion' constant....
authorMartin Baulig <mabaul@microsoft.com>
Thu, 14 Sep 2017 17:16:13 +0000 (13:16 -0400)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 17:16:13 +0000 (13:16 -0400)
Internal version number (not in any way related to the TLS Version).

Used by the web-tests to check whether the current Mono contains certain
features or bug fixes.

Negative version numbers are reserved for martin work branches.

mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs

index 1ed77bbebdf94332edfa5155c83650c9027f5f46..977d433fc6c846cda90b8daf939fc46c08b9034d 100644 (file)
@@ -167,6 +167,21 @@ namespace Mono.Security.Interface
                }
 
                #endregion
+
+               #region Internal Version
+
+               /*
+                * Internal version number (not in any way related to the TLS Version).
+                *
+                * Used by the web-tests to check whether
+                * the current Mono contains certain features or bug fixes.
+                *
+                * Negative version numbers are reserved for martin work branches.
+                *
+                */
+               internal const int InternalVersion = 1;
+
+               #endregion
        }
 }