HttpListenerRequest::ServiceName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

property String^ ServiceName {
	String^ get();
	internal: void set(String^ value);

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
Available since 2.0
Return to top