/// <summary> /// Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. /// </summary> /// <remarks> /// Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. /// </remarks> public static NtlmPasswordAuthentication RequestNtlmPasswordAuthentication(string url, SmbAuthException sae) { if (_auth == null) { return(null); } lock (_auth) { _auth._url = url; _auth._sae = sae; return(_auth.GetNtlmPasswordAuthentication()); } }
/// <summary>Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. /// </summary> /// <remarks>Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials. /// </remarks> public static NtlmPasswordAuthentication RequestNtlmPasswordAuthentication(string url, SmbAuthException sae) { if (_auth == null) { return null; } lock (_auth) { _auth._url = url; _auth._sae = sae; return _auth.GetNtlmPasswordAuthentication(); } }
private void Reset() { _url = null; _sae = null; }
private void Reset() { _url = null; _sae = null; }