Vanara/System
David Hall 98aba004bb Fixed a bunch of build errors related to missing XMl docs and nullability 2023-02-04 10:53:01 -07:00
..
Computer Removed dependencies on all x64 preprocessor indications and just made all structures work for both 32 and 64-bit (#346) 2022-12-21 20:33:41 -07:00
Diagnostics Added Antimalware assembly (AMSI) with supporting unit test and wrapper class in Vanara.SystemServices, AntimalwareScan. 2022-02-10 11:16:09 -07:00
Extensions Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
Network Fixed a bunch of build errors related to missing XMl docs and nullability 2023-02-04 10:53:01 -07:00
Registry Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
Path.cs Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
PowerManager.cs Finished work on PowerManager event additions for all power events. (#190) 2020-12-22 10:00:34 -07:00
Vanara.SystemServices.csproj Updated project files 2022-10-25 11:24:54 -06:00
Wow64Redirect.cs BITS pinvoke updates, helper classes, and unit tests 2018-05-29 17:45:25 -06:00
pkgreadme.md Updated project files 2022-10-25 11:24:54 -06:00
readme.md Updated project files 2022-10-25 11:24:54 -06:00

readme.md

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.

Enumerations

Enum Description Values
Vanara.Diagnostics.BatteryStatus Indicates the status of the battery. NotPresent, Discharging, Idle, Charging
Vanara.Network.EdgeTraversalType Specifies the conditions under which edge traversal traffic is allowed. Deny, Allow, DeferToApp, DeferToUser
Vanara.Diagnostics.EnergySaverStatus Specifies the status of battery saver. Disabled, Off, On
Vanara.Network.FirewallAction Specifies the action for a rule or default setting. Block, Allow, Max
Vanara.Network.FirewallAuthenticateType Specifies the type of authentication which must occur in order for traffic to be allowed. None, NoEncapsulation, WithIntegrity, NegotiateEncryption, Encrypt
Vanara.Network.FirewallPolicyModifyState Specifies the effect of modifications to the current policy. Ok, OverrideGroupPolicy, InboundBlocked
Vanara.Network.FirewallProfileType Specifies the type of profile. Domain, Private, Public, All
Vanara.Diagnostics.JobLimit The job limit type exceeded as communicated by a Vanara.Diagnostics.JobNotificationEventArgs. PerJobUserTime, JobMemory, JobLowMemory, IoReadBytes, IoWriteBytes, RateControlTolerance, IoRateControlTolerance, NetRateControlTolerance
Vanara.Extensions.NetworkInterfaceAccessType The interface access type. Loopback, Broadcast, PointToPoint, PointToMultiPoint
Vanara.Extensions.NetworkInterfaceAdministrativeStatus Specifies the NDIS network interface administrative status, as described in RFC 2863. Up, Down, Testing
Vanara.Extensions.NetworkInterfaceConnectionType Specifies the NDIS network interface connection type. Dedicated, Passive, Demand
Vanara.Extensions.NetworkInterfaceDirectionType Specifies the NDIS network interface direction type. SendReceive, SendOnly, ReceiveOnly
Vanara.Extensions.NetworkInterfaceMediaType The 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.NetworkInterfacePhysicalMedium The 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.PathCharType The type of character retrieved from Vanara.IO.PathEx.GetCharType(System.Char). Invalid, LongFileName, ShortFileName, Wildcard, Separator
Vanara.Diagnostics.PowerCapabilities Specifies 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.PowerSupplyStatus Represents the device's power supply status. NotPresent, Inadequate, Adequate
Vanara.Network.RuleDirection Specifies the direction of traffic to which a rule applies. In, Out
Vanara.Network.RuleInterfaceType Specifies the interface types to which a rule applies. All, Lan, RemoteAccess, Wireless
Vanara.PInvoke.Diagnostics.ScanResult The ScanResult enumeration specifies the types of results returned by scans. Clean, NotDetected, PotentialDetected, Detected
Vanara.Security.AccessControl.ServiceControllerAccessRights Defines 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.ShareOfflineSettings Offline settings for a shared folder. OnlySpecified, All, AllOptimized, None

Interfaces

Interface Description
Vanara.Network.NetworkListManager.IEnumerableList An enumerable list that supports a length and indexer.
Vanara.INamedEntity An object that exposes a name.
Vanara.Diagnostics.IPropertyProvider A dictionary of properties.

Classes

Class Description
Vanara.PInvoke.Diagnostics.AntimalwareScan Provides scanning of strings and buffers to detect malware using either the system provider or a custom provider.
Vanara.Computer Represents a single connected (authenticated) computer.
Vanara.Diagnostics.Device A class that represents a device on a machine.
Vanara.Diagnostics.DeviceClass A class that provides detail about a device setup class available on a machine.
Vanara.Diagnostics.DeviceClassCollection A class that provides the collection of device setup classes available on a machine.
Vanara.Diagnostics.DeviceClass.DeviceClassProperties Accesses properties with a device class.
Vanara.Diagnostics.DeviceClass.DeviceClassRegProperties Accesses registry properties with a device class.
Vanara.Diagnostics.DeviceCollection A class that provides the collection of devices available on a machine.
Vanara.Diagnostics.DeviceExtensions Extension methods for SetupAPI functions and structs.
Vanara.Diagnostics.DeviceManager Class to manage local and remote devices.
Vanara.Diagnostics.Device.DeviceProperties Accesses properties with a device.
Vanara.Diagnostics.Device.DeviceRegProperties Accesses registry properties with a device class.
Vanara.Extensions.FileInfoExtension Extension methods for System.IO.FileSystemInfo and derived classes to facilitate retrieval of extended properties.
Vanara.Network.FirewallProfile Represents a profile of the Windows Firewall.
Vanara.Network.FirewallRule Provides access to the properties of a firewall rule.
Vanara.Network.FirewallRules Represents the rules for the Windows Firewall.
Vanara.Network.InternetProxyOptions Provides access to proxy settings for an internet connection.
Vanara.Diagnostics.IoCompletionPort Represents a system I/O completion port.
Vanara.Diagnostics.Job Represents 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.JobEventArgs Contains information about a job object message.
Vanara.Diagnostics.JobHelper Base class for other classes that support the Vanara.Diagnostics.Job object.
Vanara.Diagnostics.JobLimits Settings for Vanara.Diagnostics.Job that set limits for different runtime values.
Vanara.Diagnostics.JobNotificationEventArgs Contains information about a job object limit notification message.
Vanara.Diagnostics.JobNotifications Settings for Vanara.Diagnostics.Job that set notification limits for different properties.
Vanara.Diagnostics.JobSecurity Represents the security access rights of a job object.
Vanara.Diagnostics.JobSettings Settings related to job objects.
Vanara.Diagnostics.JobStatistics Gets statistics for a job object.
Vanara.LocalGroup Represents a local group on a server.
Vanara.LocalGroupMembers Represents a colleciton of local group members.
Vanara.LocalGroups Represents the collection of local groups on a server.
Vanara.Network.NetworkConnection Represents a single network connection. Wraps Vanara.PInvoke.NetListMgr.INetworkConnection.
Vanara.NetworkDeviceConnection Information about a remote resource, usually in reference to a connection to that resource.
Vanara.NetworkDeviceConnectionCollection Provides access to the local machine's remote connections.
Vanara.Extensions.NetworkInterfaceExt Extension methods for various network related interfaces methods.
Vanara.Network.NetworkListManager Provides a set of methods to perform network list management functions.
Vanara.Network.NetworkProfile Represents a wireless network profile
Vanara.OpenFile Represents an open file associated with a share.
Vanara.IO.PathEx Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.
Vanara.Diagnostics.PoweredDevice Represents a device on the system that has power requirements.
Vanara.Diagnostics.PoweredDeviceCollection Retrieves the list, optionally filtered, of the powered devices on the system.
Vanara.Diagnostics.PowerEventArgs Event arguments for power events.
Vanara.Diagnostics.PowerManager Provides 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.PowerScheme Represents a system power scheme (power plan).
Vanara.Diagnostics.PowerSchemeCollection Represents a collection of all the power schemes available on the system.
Vanara.Diagnostics.PowerSchemeGroup Represents a subgroup of a system power scheme (power plan).
Vanara.Diagnostics.PowerSchemeGroupCollection Represents a collection of all the subgroups available under a power scheme on the system.
Vanara.Diagnostics.PowerSchemeSetting Represents a setting on a subgroup.
Vanara.Diagnostics.PowerSchemeSettingCollection Represents a collection of all settings for a subgroup and power scheme on the system.
Vanara.Extensions.ProcessExtension Extension methods for System.Diagnostics.Process for privileges, status, elevation and relationships.
Vanara.Registry.RegistryEventMonitor.RegistryEventArgs Argument used in Vanara.Registry.RegistryEventMonitor events.
Vanara.Registry.RegistryEventMonitor Watches the Windows Registry for any changes.
Vanara.Security.AccessControl.ServiceControllerAccessRule Represents an abstraction of an access control entry (ACE) that defines an access rule for a service.
Vanara.Security.AccessControl.ServiceControllerAuditRule Represents an abstraction of an access control entry (ACE) that defines an audit rule for a service.
Vanara.Extensions.ServiceControllerExtension Extension methods for System.ServiceProcess.ServiceController.
Vanara.Security.AccessControl.ServiceControllerSecurity Represents the access control and audit security for a service.
Vanara.Session Represents a Windows session.
Vanara.Sessions A collection of Windows sessions for the specified target computer.
Vanara.ShareConnection Represents a connection to a shared device.
Vanara.SharedDevice Represents a shared device on a computer.
Vanara.SharedDevices Represents all the shared devices on a computers.
Vanara.Diagnostics.SystemShutdown Provides access to system shutdown, restart, lock and notifications.
Vanara.UserAccount Represents a user account on a server.
Vanara.UserAccounts Represents the collection of user accounts on a server.
Vanara.Network.WindowsFirewall Wrapper for Windows Firewall interface methods (i.e. Vanara.PInvoke.FirewallApi.INetFwPolicy2).
Vanara.IO.Wow64Redirect Suspends 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.