예제 #1
0
        public static SvnAuthProviderObject GetPromptProvider(
            SslClientCertPrompt promptFunc,
            IntPtr promptBaton, int retryLimit, AprPool pool)
        {
            IntPtr      authObj;
            SvnDelegate auth = new SvnDelegate(promptFunc);

            Debug.Write(String.Format("svn_client_get_ssl_client_cert_prompt_provider([callback:{0}],{1},{2},{3})...", auth.Wrapper, promptBaton, retryLimit, pool));
            Svn.svn_client_get_ssl_client_cert_prompt_provider(out authObj,
                                                               (Svn.svn_auth_ssl_client_cert_prompt_func_t)auth.Wrapper,
                                                               promptBaton, retryLimit, pool);
            Debug.WriteLine(String.Format("Done({0:X})", authObj.ToInt32()));
            return(new SvnAuthProviderObject(authObj, auth));
        }
예제 #2
0
 public static SvnAuthProviderObject GetPromptProvider(
 										SslClientCertPrompt promptFunc,
 										IntPtr promptBaton, int retryLimit, AprPool pool)
 {
     IntPtr authObj;
        		SvnDelegate auth = new SvnDelegate(promptFunc);
     Debug.Write(String.Format("svn_client_get_ssl_client_cert_prompt_provider([callback:{0}],{1},{2},{3})...",auth.Wrapper,promptBaton,retryLimit,pool));
        		Svn.svn_client_get_ssl_client_cert_prompt_provider(out authObj,
                                 (Svn.svn_auth_ssl_client_cert_prompt_func_t) auth.Wrapper,
                                 promptBaton, retryLimit, pool);
     Debug.WriteLine(String.Format("Done({0:X})",authObj.ToInt32()));
        		return(new SvnAuthProviderObject(authObj,auth));
 }