public static bool SetCertificate(IntPtr pCertificate, int cbCertificate, out SteamNetworkingErrMsg errMsg)
 {
     InteropHelp.TestIfAvailableGameServer();
     return(NativeMethods.ISteamNetworkingSockets_SetCertificate(CSteamGameServerAPIContext.GetSteamNetworkingSockets(), pCertificate, cbCertificate, out errMsg));
 }
 public static bool GetCertificateRequest(out int pcbBlob, IntPtr pBlob, out SteamNetworkingErrMsg errMsg)
 {
     InteropHelp.TestIfAvailableGameServer();
     return(NativeMethods.ISteamNetworkingSockets_GetCertificateRequest(CSteamGameServerAPIContext.GetSteamNetworkingSockets(), out pcbBlob, pBlob, out errMsg));
 }
        internal bool SetCertificate(IntPtr pCertificate, int cbCertificate, ref SteamNetworkingErrMsg errMsg)
        {
            var returnValue = _SetCertificate(Self, pCertificate, cbCertificate, ref errMsg);

            return(returnValue);
        }
 private static extern bool _SetCertificate(IntPtr self, IntPtr pCertificate, int cbCertificate, ref SteamNetworkingErrMsg errMsg);
        internal bool GetCertificateRequest(ref int pcbBlob, IntPtr pBlob, ref SteamNetworkingErrMsg errMsg)
        {
            var returnValue = _GetCertificateRequest(Self, ref pcbBlob, pBlob, ref errMsg);

            return(returnValue);
        }
 private static extern bool _GetCertificateRequest(IntPtr self, ref int pcbBlob, IntPtr pBlob, ref SteamNetworkingErrMsg errMsg);