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