updated tokens
renamed @os to @osVersion for finer OS details added @osName which results in something a little more human friendly.
This commit is contained in:
parent
a330029cd5
commit
01a46cb1cf
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Security.Principal;
|
using System.Security.Principal;
|
||||||
|
using Microsoft.VisualBasic.Devices;
|
||||||
|
|
||||||
namespace TED.Utils
|
namespace TED.Utils
|
||||||
{
|
{
|
||||||
@ -16,7 +17,8 @@ namespace TED.Utils
|
|||||||
{
|
{
|
||||||
{ "@userName", () => WindowsIdentity.GetCurrent().Name },
|
{ "@userName", () => WindowsIdentity.GetCurrent().Name },
|
||||||
{ "@machineName", () => Environment.MachineName },
|
{ "@machineName", () => Environment.MachineName },
|
||||||
{ "@os", () => Environment.OSVersion.ToString() },
|
{ "@osVersion", () => Environment.OSVersion.ToString() },
|
||||||
|
{ "@osName", () => new ComputerInfo().OSFullName }
|
||||||
};
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user