3 writes to Path
System.Management (3)
System\Management\ManagementObject.cs (2)
2584
scope.
Path
= new ManagementPath(nsPath);
2586
scope.
Path
= ManagementPath.DefaultPath;
System\Management\ManagementScope.cs (1)
606
this.
Path
= path;
15 references to Path
System.Management (15)
System\Management\ManagementEventWatcher.cs (2)
625
if ((string.Equals(eventWatcher.Scope.
Path
.Server, ".", StringComparison.OrdinalIgnoreCase)) ||
626
(string.Equals(eventWatcher.Scope.
Path
.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase)))
System\Management\ManagementObject.cs (7)
396
if ((null != scope) && (scope.
Path
.NamespacePath.Length > 0))
401
path.NamespacePath = scope.
Path
.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY);
1560
newPath = new ManagementPath(scope.
Path
.Path);
1579
newPath = new ManagementPath(scope.
Path
.Path);
1625
o.Context, scope.
Path
.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY), ClassName);
2578
else if ((null == scope.
Path
) || scope.
Path
.IsEmpty)
System\Management\ManagementScope.cs (1)
1524
return new InstanceDescriptor(ctor, new object[] { obj.
Path
.Path });
System\Management\WmiEventSink.cs (2)
90
if ((string.Equals(this.scope.
Path
.Server, ".", StringComparison.OrdinalIgnoreCase)) ||
91
(string.Equals(this.scope.
Path
.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase)))
System\Management\WMIGenerator.cs (3)
3452
new CodePrimitiveExpression(classobj.Scope.
Path
.NamespacePath)));
3473
new CodePrimitiveExpression(classobj.Scope.
Path
.NamespacePath)));
3632
new CodePrimitiveExpression(classobj.Scope.
Path
.NamespacePath)));