4 instantiations of ConnectionOptions
System.Management (4)
System\Management\ManagementOptions.cs (3)
1657
return new
ConnectionOptions
(locale, username, GetSecurePassword(),
1704
optionsTmp = new
ConnectionOptions
(options.Context, options.Timeout, options.Flags);
1728
optionsTmp = new
ConnectionOptions
();
System\Management\ManagementScope.cs (1)
967
threadParam.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
1693
internal static
ConnectionOptions
_Clone(
ConnectionOptions
options)
1695
return
ConnectionOptions
._Clone(options, null);
1698
internal static
ConnectionOptions
_Clone(
ConnectionOptions
options, IdentifierChangedEventHandler handler)
1700
ConnectionOptions
optionsTmp;
System\Management\ManagementScope.cs (15)
487
private
ConnectionOptions
options;
603
ConnectionOptions
options)
664
scopeTmp.options =
ConnectionOptions
._Clone(scope.options, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
710
public ManagementScope(ManagementPath path) : this(path, (
ConnectionOptions
)null) { }
723
public 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>
742
public 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>
766
public ManagementScope(ManagementPath path,
ConnectionOptions
options)
775
this.options =
ConnectionOptions
._Clone(options, new IdentifierChangedEventHandler(HandleIdentifierChange));
787
/// <para>The valid <see cref='System.Management.
ConnectionOptions
'/>
806
public
ConnectionOptions
Options
810
return options ??=
ConnectionOptions
._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange));
819
options =
ConnectionOptions
._Clone((
ConnectionOptions
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));