How can i use the windows credentials to create an alfresco session with c#
public ISession CreateSession()
{
Dictionary<string, string> parameters = new Dictionary<string, string>();
parameters[SessionParameter.BindingType] = BindingType.AtomPub;
parameters[SessionParameter.AtomPubUrl] = this.configAdapter.AlfrescoAtomPubUrl;
parameters[SessionParameter.User] = this.configAdapter.AlfrescoUser;
parameters[SessionParameter.Password] = this.configAdapter.AlfrescoPassword;
SessionFactory factory = SessionFactory.NewInstance();
factory.GetRepositories(parameters);
return factory.GetRepositories(parameters)[0].CreateSession();
}