public NTAuthModule(SecurityPackage secPackage) { // parameters validation if (secPackage == null) throw new ArgumentNullException("secPackage"); _secPackage = secPackage; }
public NTAuthModule(SecurityPackage secPackage) { // parameters validation if (secPackage == null) { throw new ArgumentNullException("secPackage"); } _secPackage = secPackage; }
internal SecurityCredentials( SecurityPackage secPackage, Int64 credHandle, Int64 credExpiry, SecurityCredentialsType credType) { // parameters validation if (secPackage == null) throw new ArgumentNullException("secPackage"); if (credHandle == 0) throw new ArgumentNullException("credHandle"); _secPackage = secPackage; _credHandle = credHandle; _credExpiry = credExpiry; _credType = credType; }
internal SecurityCredentials( SecurityPackage secPackage, Int64 credHandle, Int64 credExpiry, SecurityCredentialsType credType) { // parameters validation if (secPackage == null) { throw new ArgumentNullException("secPackage"); } if (credHandle == 0) { throw new ArgumentNullException("credHandle"); } _secPackage = secPackage; _credHandle = credHandle; _credExpiry = credExpiry; _credType = credType; }