init
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Licensing.SystemInformation
|
||||
{
|
||||
public static class MachineInfo
|
||||
{
|
||||
static public string MachineName
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
return System.Environment.MachineName;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user