master
md 21 lines 358 Bytes
Rendered Raw
1 # ServiceVersion
2
3 WSL service version information.
4
5 ```csharp
6 public sealed class ServiceVersion
7 {
8 public uint Major { get; }
9 public uint Minor { get; }
10 public uint Revision { get; }
11 }
12 ```
13
14 Example:
15
16 ```csharp
17 var version = WslcService.GetVersion();
18 Console.WriteLine($"WSL service: {version.Major}.{version.Minor}.{version.Revision}");
19 ```
20
21 ---