FtpWebResponse.WelcomeMessage 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 authentication is complete.
public:
property System::String ^ WelcomeMessage { System::String ^ get(); };
public string? WelcomeMessage { get; }
public string WelcomeMessage { get; }
member this.WelcomeMessage : string
Public ReadOnly Property WelcomeMessage As String
Property Value
A String that contains the welcome 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( "Welcome message: {0}", response->WelcomeMessage );
Console.WriteLine("Welcome message: {0}",
response.WelcomeMessage);
Remarks
If the connection is being reused (the KeepAlive property is set to true
), the WelcomeMessage property returns the first welcome message received with the connection.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om