API Reference
Class
SpnSyntaxValidator
Lightweight SPN format validator. It does not verify service existence, only basic grammar: serviceclass/host[:port][/instance]. Service class must be alnum or dash, starting with a letter. Host cannot contain spaces; optional port must be numeric.
Inheritance
- Object
- SpnSyntaxValidator
Methods
public static Boolean IsLikelyValid(String spn, out String reason) #Returns:
BooleanReturns true when the SPN looks well-formed. Provides a reason when invalid.
Parameters
- spn System.String
- reason System.String@