コード例 #1
0
ファイル: userver.cs プロジェクト: qingchen1984/socketpro
                public static string GetPassword(ulong hSocket)
                {
                    char[] pwd = new char[256];
                    unsafe
                    {
                        fixed(char *p = pwd)
                        {
                            uint res = ServerCoreLoader.GetPassword(hSocket, p, 256);

                            return(new string(p));
                        }
                    }
                }