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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.