示例#1
0
 // Returns 'true' if both the server and the client are domain-joined.
 public static bool Domain_Joined()
 {
     return(GetConditionValue(nameof(Domain_Joined),
                              () => ConditionalTestDetectors.IsClientDomainJoined() &&
                              Server_Domain_Joined()));
 }
示例#2
0
 // Returns the explicit password if available
 public static string GetExplicitPassword()
 {
     return(ConditionalTestDetectors.GetExplicitPassword());
 }
示例#3
0
 // Gets the UPN if available
 public static string GetSPN()
 {
     return(ConditionalTestDetectors.GetSPN());
 }
示例#4
0
 // Returns the explicit user name if available
 public static string GetExplicitUserName()
 {
     return(ConditionalTestDetectors.GetExplicitUserName());
 }