Skip to content

Commit a158258

Browse files
committed
added version info to status
1 parent f8707a4 commit a158258

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

RegexPlanet-DotNet/Status.aspx.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ protected void Page_Load(object sender, EventArgs e)
1212
{
1313
StatusResult statusResult = new StatusResult();
1414
statusResult.Success = true;
15+
statusResult.Version = System.Environment.Version.ToString();
1516
statusResult.SystemEnvironmentCommandLine = System.Environment.CommandLine;
1617
statusResult.SystemEnvironmentCurrentDirectory = System.Environment.CurrentDirectory;
1718
statusResult.SystemEnvironmentIs64BitOperatingSystem = System.Environment.Is64BitOperatingSystem;

RegexPlanet-DotNet/StatusResult.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ public class StatusResult
88
[DataMember(Name="success")]
99
public bool Success { get; set; }
1010

11+
[DataMember(Name="version")]
12+
public string Version { get; set; }
13+
1114
[DataMember(Name = "System.Environment.CommandLine", EmitDefaultValue = false)]
1215
public string SystemEnvironmentCommandLine { get; set; }
1316

0 commit comments

Comments
 (0)