Редактиране

Споделяне чрез


Microsoft.VisualBasic.Devices Namespace

Contains types that support the My objects related to devices in Visual Basic.

Classes

Audio

Provides methods for playing sounds.

Clock

Provides properties for accessing the current local time and Universal Coordinated Time (equivalent to Greenwich Mean Time) from the system clock.

Computer

Provides properties for manipulating computer components such as audio, the clock, the keyboard, the file system, and so on.

ComputerInfo

Provides properties for getting information about the computer's memory, loaded assemblies, name, and operating system.

Keyboard

Provides properties for accessing the current state of the keyboard, such as what keys are currently pressed, and provides a method to send keystrokes to the active window.

Mouse

Provides properties for getting information about the format and configuration of the mouse installed on the local computer.

Network

Provides a property, event, and methods for interacting with the network to which the computer is connected.

NetworkAvailableEventArgs

Provides data for the My.Application.NetworkAvailabilityChanged and My.Computer.Network.NetworkAvailabilityChanged events.

Ports

Provides a property and a method for accessing the computer's serial ports.

ServerComputer

Provides properties for manipulating computer components such as audio, the clock, the keyboard, the file system, and so on.

Delegates

NetworkAvailableEventHandler

Represents the method that will handle the My.Application.NetworkAvailabilityChanged or My.Computer.Network.NetworkAvailabilityChanged event.

Remarks

For more information about the My objects related to devices, see

See also