readme.md

March 31, 2026 ยท View on GitHub

Assembly report for Vanara.SystemServices.dll

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Dependencies

  • Vanara.PInvoke.AMSI
  • Vanara.PInvoke.FirewallApi
  • Vanara.PInvoke.IpHlpApi
  • Vanara.PInvoke.Mpr
  • Vanara.PInvoke.NetApi32
  • Vanara.PInvoke.NetListMgr
  • Vanara.PInvoke.NtDll
  • Vanara.PInvoke.PowrProf
  • Vanara.PInvoke.SetupAPI
  • Vanara.PInvoke.ShlwApi
  • Vanara.PInvoke.User32
  • Vanara.PInvoke.WinINet
  • Vanara.PInvoke.WlanApi
  • Vanara.PInvoke.WTSApi32
  • Vanara.Security

Enumerations

EnumDescriptionValues
Vanara.Diagnostics.BatteryStatusIndicates the status of the battery.NotPresent, Discharging, Idle, Charging
Vanara.Network.EdgeTraversalTypeSpecifies the conditions under which edge traversal traffic is allowed.Deny, Allow, DeferToApp, DeferToUser
Vanara.Diagnostics.EnergySaverStatusSpecifies the status of battery saver.Disabled, Off, On
Vanara.Network.FirewallActionSpecifies the action for a rule or default setting.Block, Allow, Max
Vanara.Network.FirewallAuthenticateTypeSpecifies the type of authentication which must occur in order for traffic to be allowed.None, NoEncapsulation, WithIntegrity, NegotiateEncryption, Encrypt
Vanara.Network.FirewallPolicyModifyStateSpecifies the effect of modifications to the current policy.Ok, OverrideGroupPolicy, InboundBlocked
Vanara.Network.FirewallProfileTypeSpecifies the type of profile.Domain, Private, Public, All
Vanara.Diagnostics.JobLimitThe job limit type exceeded as communicated by a Vanara.Diagnostics.JobNotificationEventArgs.PerJobUserTime, JobMemory, JobLowMemory, IoReadBytes, IoWriteBytes, RateControlTolerance, IoRateControlTolerance, NetRateControlTolerance
Vanara.Extensions.NetworkInterfaceAccessTypeThe interface access type.Loopback, Broadcast, PointToPoint, PointToMultiPoint
Vanara.Extensions.NetworkInterfaceAdministrativeStatusSpecifies the NDIS network interface administrative status, as described in RFC 2863.Up, Down, Testing
Vanara.Extensions.NetworkInterfaceConnectionTypeSpecifies the NDIS network interface connection type.Dedicated, Passive, Demand
Vanara.Extensions.NetworkInterfaceDirectionTypeSpecifies the NDIS network interface direction type.SendReceive, SendOnly, ReceiveOnly
Vanara.Extensions.NetworkInterfaceMediaTypeThe NDIS media type of a network interface.Ethernet802_3, TokenRing, Fddi, Wan, LocalTalk, Dix, ArcnetRaw, Arcnet878_2, Atm, Wireless, IrDA, Broadcast, CoWAN, Ieee1394, InfiniBand, Tunnel, Native802_11, Loopback, WiMAX, IP
Vanara.Extensions.NetworkInterfacePhysicalMediumThe NDIS physical medium type.Unspecified, WirelessLan, CableModem, PhoneLine, PowerLine, DSL, FibreChannel, Ieee1394, WirelessWan, Native802_11, Bluetooth, InfiniBand, WiMAX, UWB, Ethernet802_3, TokenRing, IrDA, WiredWAN, WiredCoWAN, Other
Vanara.IO.PathEx.PathCharTypeThe type of character retrieved from Vanara.IO.PathEx.GetCharType(System.Char).Invalid, LongFileName, ShortFileName, Wildcard, Separator
Vanara.Diagnostics.PowerCapabilitiesSpecifies the power capabilities of a device.PowerButtonPresent, SleepButtonPresent, LidPresent, SystemS1, SystemS2, SystemS3, SystemS4, SystemS5, HiberFilePresent, FullWake, VideoDimPresent, ApmPresent, UpsPresent, ThermalControl, ProcessorThrottle, FastSystemS4, Hiberboot, WakeAlarmPresent, AoAc, DiskSpinDown, AoAcConnectivitySupported, SystemBatteriesPresent, BatteriesAreShortTerm
Vanara.Diagnostics.PowerSupplyStatusRepresents the device's power supply status.NotPresent, Inadequate, Adequate
Vanara.Network.RuleDirectionSpecifies the direction of traffic to which a rule applies.In, Out
Vanara.Network.RuleInterfaceTypeSpecifies the interface types to which a rule applies.All, Lan, RemoteAccess, Wireless
Vanara.PInvoke.Diagnostics.ScanResultThe ScanResult enumeration specifies the types of results returned by scans.Clean, NotDetected, PotentialDetected, Detected
Vanara.Security.AccessControl.ServiceControllerAccessRightsDefines the access rights to use when creating access and audit rules.QueryConfig, ChangeConfig, QueryStatus, EnumerateDependents, Start, Stop, Continue, Interrogate, UserDefinedControl, Delete, ReadPermissions, Write, Read, Execute, ChangePermissions, TakeOwnership, AccessSystemSecurity, FullControl
Vanara.ShareOfflineSettingsOffline settings for a shared folder.OnlySpecified, All, AllOptimized, None

Interfaces

InterfaceDescription
Vanara.Network.NetworkListManager.IEnumerableList<T>An enumerable list that supports a length and indexer.
Vanara.INamedEntityAn object that exposes a name.
Vanara.Diagnostics.IPropertyProvider<T>A dictionary of properties.

Classes

ClassDescription
Vanara.PInvoke.Diagnostics.AntimalwareScanProvides scanning of strings and buffers to detect malware using either the system provider or a custom provider.
Vanara.ComputerRepresents a single connected (authenticated) computer.
Vanara.Diagnostics.DeviceA class that represents a device on a machine.
Vanara.Diagnostics.DeviceClassA class that provides detail about a device setup class available on a machine.
Vanara.Diagnostics.DeviceClassCollectionA class that provides the collection of device setup classes available on a machine.
Vanara.Diagnostics.DeviceClass.DeviceClassPropertiesAccesses properties with a device class.
Vanara.Diagnostics.DeviceClass.DeviceClassRegPropertiesAccesses registry properties with a device class.
Vanara.Diagnostics.DeviceCollectionA class that provides the collection of devices available on a machine.
Vanara.Diagnostics.DeviceExtensionsExtension methods for SetupAPI functions and structs.
Vanara.Diagnostics.DeviceManagerClass to manage local and remote devices.
Vanara.Diagnostics.Device.DevicePropertiesAccesses properties with a device.
Vanara.Diagnostics.Device.DeviceRegPropertiesAccesses registry properties with a device class.
Vanara.Extensions.FileInfoExtensionExtension methods for System.IO.FileSystemInfo and derived classes to facilitate retrieval of extended properties.
Vanara.Network.FirewallProfileRepresents a profile of the Windows Firewall.
Vanara.Network.FirewallRuleProvides access to the properties of a firewall rule.
Vanara.Network.FirewallRulesRepresents the rules for the Windows Firewall.
Vanara.Network.InternetProxyOptionsProvides access to proxy settings for an internet connection.
Vanara.Diagnostics.IoCompletionPortRepresents a system I/O completion port.
Vanara.Diagnostics.JobRepresents a system Job Object that allows groups of processes to be managed as a unit. Job objects are nameable, securable, sharable objects that control attributes of the processes associated with them. Operations performed on a job object affect all processes associated with the job object. Examples include enforcing limits such as working set size and process priority or terminating all processes associated with a job. For more information see Job Objects.
Vanara.Diagnostics.JobEventArgsContains information about a job object message.
Vanara.Diagnostics.JobHelperBase class for other classes that support the Vanara.Diagnostics.Job object.
Vanara.Diagnostics.JobLimitsSettings for Vanara.Diagnostics.Job that set limits for different runtime values.
Vanara.Diagnostics.JobNotificationEventArgsContains information about a job object limit notification message.
Vanara.Diagnostics.JobNotificationsSettings for Vanara.Diagnostics.Job that set notification limits for different properties.
Vanara.Diagnostics.JobSecurityRepresents the security access rights of a job object.
Vanara.Diagnostics.JobSettingsSettings related to job objects.
Vanara.Diagnostics.JobStatisticsGets statistics for a job object.
Vanara.LocalGroupRepresents a local group on a server.
Vanara.LocalGroupMembersRepresents a colleciton of local group members.
Vanara.LocalGroupsRepresents the collection of local groups on a server.
Vanara.Network.NetworkConnectionRepresents a single network connection. Wraps Vanara.PInvoke.NetListMgr.INetworkConnection.
Vanara.NetworkDeviceConnectionInformation about a remote resource, usually in reference to a connection to that resource.
Vanara.NetworkDeviceConnectionCollectionProvides access to the local machine's remote connections.
Vanara.Extensions.NetworkInterfaceExtExtension methods for various network related interfaces methods.
Vanara.Network.NetworkListManagerProvides a set of methods to perform network list management functions.
Vanara.Network.NetworkProfileRepresents a wireless network profile
Vanara.OpenFileRepresents an open file associated with a share.
Vanara.IO.PathExPerforms operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.
Vanara.Diagnostics.PoweredDeviceRepresents a device on the system that has power requirements.
Vanara.Diagnostics.PoweredDeviceCollectionRetrieves the list, optionally filtered, of the powered devices on the system.
Vanara.Diagnostics.PowerEventArgs<T>Event arguments for power events.
Vanara.Diagnostics.PowerManagerProvides access to information about a device's battery and power supply status and configuration. This extends the capabilities Windows.System.Power.PowerManager to include more detail, schemes and devices.
Vanara.Diagnostics.PowerSchemeRepresents a system power scheme (power plan).
Vanara.Diagnostics.PowerSchemeCollectionRepresents a collection of all the power schemes available on the system.
Vanara.Diagnostics.PowerSchemeGroupRepresents a subgroup of a system power scheme (power plan).
Vanara.Diagnostics.PowerSchemeGroupCollectionRepresents a collection of all the subgroups available under a power scheme on the system.
Vanara.Diagnostics.PowerSchemeSettingRepresents a setting on a subgroup.
Vanara.Diagnostics.PowerSchemeSettingCollectionRepresents a collection of all settings for a subgroup and power scheme on the system.
Vanara.Extensions.ProcessExtensionExtension methods for System.Diagnostics.Process for privileges, status, elevation and relationships.
Vanara.Registry.RegistryEventMonitor.RegistryEventArgsArgument used in Vanara.Registry.RegistryEventMonitor events.
Vanara.Registry.RegistryEventMonitorWatches the Windows Registry for any changes.
Vanara.Security.AccessControl.ServiceControllerAccessRuleRepresents an abstraction of an access control entry (ACE) that defines an access rule for a service.
Vanara.Security.AccessControl.ServiceControllerAuditRuleRepresents an abstraction of an access control entry (ACE) that defines an audit rule for a service.
Vanara.Extensions.ServiceControllerExtensionExtension methods for System.ServiceProcess.ServiceController.
Vanara.Security.AccessControl.ServiceControllerSecurityRepresents the access control and audit security for a service.
Vanara.SessionRepresents a Windows session.
Vanara.SessionsA collection of Windows sessions for the specified target computer.
Vanara.ShareConnectionRepresents a connection to a shared device.
Vanara.SharedDeviceRepresents a shared device on a computer.
Vanara.SharedDevicesRepresents all the shared devices on a computers.
Vanara.Diagnostics.SystemShutdownProvides access to system shutdown, restart, lock and notifications.
Vanara.UserAccountRepresents a user account on a server.
Vanara.UserAccountsRepresents the collection of user accounts on a server.
Vanara.Network.WindowsFirewallWrapper for Windows Firewall interface methods (i.e. Vanara.PInvoke.FirewallApi.INetFwPolicy2).
Vanara.IO.Wow64RedirectSuspends File System Redirection if found to be in effect. Effectively, this calls IsWow64Process to determine state and then disables redirection using Wow64DisableWow64FsRedirection. It then reverts redirection at disposal using Wow64RevertWow64FsRedirection.