FtpWebResponse.BannerMessage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the message sent by the FTP server when a connection is established prior to logon.
public:
property System::String ^ BannerMessage { System::String ^ get(); };
public string? BannerMessage { get; }
public string BannerMessage { get; }
member this.BannerMessage : string
Public ReadOnly Property BannerMessage As String
Property Value
A String that contains the banner message sent by the server; otherwise, Empty if no message is sent.
Examples
The following code example displays the value of this property.
Console::WriteLine( "Banner message: {0}", response->BannerMessage );
Console.WriteLine("Banner message: {0}",
response.BannerMessage);
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.