除超级管理员外,其他账户不允许同时在线

This commit is contained in:
dathlin
2017-07-07 14:08:33 +08:00
parent 0fa9cd986d
commit 826659de78
2 changed files with 38 additions and 4 deletions

View File

@@ -742,7 +742,7 @@ namespace 软件系统客户端模版
if (result.Content[0] == 'Y')
{
byte[] data = Convert.FromBase64String(result.Content.Substring(1));
string path32 = path + @"\" + PortraitSupport.SmallPortrait;
string path32 = path + @"\" + PortraitSupport.LargePortrait;
System.IO.File.WriteAllBytes(path32, data);
System.Diagnostics.Process.Start(path32);
}