4 instantiations of ConnectionOptions
System.Management (4)
System\Management\ManagementOptions.cs (3)
1657return new ConnectionOptions(locale, username, GetSecurePassword(), 1704optionsTmp = new ConnectionOptions(options.Context, options.Timeout, options.Flags); 1728optionsTmp = new ConnectionOptions();
System\Management\ManagementScope.cs (1)
967threadParam.Options = new ConnectionOptions();
25 references to ConnectionOptions
System.Management (25)
System\Management\ManagementOptions.cs (10)
1547/// <para>Initializes a new instance of the <see cref='System.Management.ConnectionOptions'/> class.</para> 1550/// <para>Initializes a new instance of the <see cref='System.Management.ConnectionOptions'/> class for the connection operation, using default values. This is the 1562/// <para> Initializes a new instance of the <see cref='System.Management.ConnectionOptions'/> class to be used for a WMI 1606/// <para> Initializes a new instance of the <see cref='System.Management.ConnectionOptions'/> class to be used for a WMI 1693internal static ConnectionOptions _Clone(ConnectionOptions options) 1695return ConnectionOptions._Clone(options, null); 1698internal static ConnectionOptions _Clone(ConnectionOptions options, IdentifierChangedEventHandler handler) 1700ConnectionOptions optionsTmp;
System\Management\ManagementScope.cs (15)
487private ConnectionOptions options; 603ConnectionOptions options) 664scopeTmp.options = ConnectionOptions._Clone(scope.options, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange)); 710public ManagementScope(ManagementPath path) : this(path, (ConnectionOptions)null) { } 723public ManagementScope(string path) : this(new ManagementPath(path), (ConnectionOptions)null) { } 729/// <param name=' options'>A <see cref='System.Management.ConnectionOptions'/> containing options for the connection.</param> 742public ManagementScope(string path, ConnectionOptions options) : this(new ManagementPath(path), options) { } 749/// <param name=' options'>The <see cref='System.Management.ConnectionOptions'/> containing options for the connection.</param> 766public ManagementScope(ManagementPath path, ConnectionOptions options) 775this.options = ConnectionOptions._Clone(options, new IdentifierChangedEventHandler(HandleIdentifierChange)); 787/// <para>The valid <see cref='System.Management.ConnectionOptions'/> 806public ConnectionOptions Options 810return options ??= ConnectionOptions._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange)); 819options = ConnectionOptions._Clone((ConnectionOptions)value, new IdentifierChangedEventHandler(HandleIdentifierChange));