static SecureStreamClientBase() { #if !SQLCLR try { s_tempCert = GenerateCertificate.CreateSelfSignedCertificate("CN=Local", 256, 1024); } catch { } #endif }
static SecureStreamServerCertificate() { #if !SQLCLR TempCertificate = GenerateCertificate.CreateSelfSignedCertificate("CN=Local", 256, 1024); #endif }