public static string GetUserID(ulong hSocket) { char[] id = new char[256]; unsafe { fixed(char *p = id) { uint res = ServerCoreLoader.GetUID(hSocket, p, 256); return(new string(p)); } } }