Esempio n. 1
0
        public HyperVProvider(IHyperVConfiguration configuration)
        {
            Options = new ConnectionOptions(
                @"en-US",
                configuration.FetchUsername(),
                configuration.FetchPassword(),
                null,
                ImpersonationLevel.Impersonate, // I don't know if this is correct, but it worked for me
                AuthenticationLevel.Default,
                false,
                null,
                configuration.Timeout());

            _configuration = configuration;
        }
Esempio n. 2
0
        public HyperVProvider(IHyperVConfiguration configuration)
        {
            Options = new ConnectionOptions(
                @"en-US",
                configuration.FetchUsername(),
                configuration.FetchPassword(),
                null,
                ImpersonationLevel.Impersonate, // I don't know if this is correct, but it worked for me
                AuthenticationLevel.Default,
                false,
                null,
                configuration.Timeout());

            _configuration = configuration;
        }