Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ServiceName Property

HttpListenerRequest.ServiceName Property

Gets the Service Provider Name (SPN) that the client sent on the request.

Namespace:  System.Net
Assembly:  System (in System.dll)

member ServiceName : string with get, internal set

Property Value

Type: System.String
A String that contains the SPN the client sent on the request.

An application could use the ServiceName property to perform custom Service Provide Name (SPN) validation.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft