INNER CODE UNIT · C#
th
pandolia/easy-service · src/Libs.cs:326
var th = new Thread(() => action())
{
IsBackground = true
};
th.Start();
return th;
}
public static long LastWriteTime(string filename)
{
var fileInfo = new FileInfo(filename);
return fileInfo.Exists ? fileInfo.LastWriteTimeUtc.Ticks : 0;
}
public static string GetName(this Process proc)
{
if (proc.HasExited)
{