Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
System
Net
Mail
Tests
SmtpClientTest
HostTest
System.Net.Mail.Tests.SmtpClientTest.HostTest C# (CSharp) Method
SmtpClientTest Class Documentation
Show file
Open project: dotnet/corefx
HostTest()
private
method
private
HostTest
(
string
host
) :
void
host
string
return
void
public void HostTest(string host) { Smtp.Host = host; Assert.Equal(host, Smtp.Host); }
SmtpClientTest
DeliveryMethodTest
Dispose
EnableSslTest
HostTest
InvalidHostTest
PickupDirectoryLocationTest
PortTest
Port_Value_Invalid
Send_Message_Null
Send_Network_Host_Null
Send_Network_Host_Whitespace
Send_SpecifiedPickupDirectory
Send_SpecifiedPickupDirectoryInvalid
ServicePoint_GetsCachedInstanceSpecificToHostPort
ServicePoint_NetCoreApp_AddressIsAccessible
ServicePoint_NetFramework_AddressIsInaccessible
ServicePoint_ReflectsHostAndPortChange
TestCredentialsCopyInAsyncContext
TestDefaultsOnProperties
TestMailDelivery
TestMailDeliveryAsync
TestTimeout