StreamSocketListenerInformation Class
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.
Provides socket information on a StreamSocketListener object.
public ref class StreamSocketListenerInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class StreamSocketListenerInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class StreamSocketListenerInformation
Public NotInheritable Class StreamSocketListenerInformation
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
ID_CAP_NETWORKING [Windows Phone]
|
Remarks
The StreamSocketListenerInformation class retrieves information on a StreamSocketListener and can be called any time after the StreamSocketListener has been created.
A StreamSocketListenerInformation object is automatically created with the parent StreamSocketListener object. The StreamSocketListener.Information property provides access to the associated StreamSocketListenerControl object.
Properties
LocalPort |
Get the local TCP port number associated with a StreamSocketListener object. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor