I think "info" is a misnomer. Objects have state and actions: "info" is just another name for "state" which is already baked into OOP.
What are you really trying to model here? You need an object that represents the hardware in software so other code can use it.
That is easy to say but as you found out, there is more to it than that. "Representing hardware" is surprisingly broad. An object that does that has several concerns:
- Low-level device communication, whether it be talking to the USB interface, a serial port, TCP/IP, or proprietary connection.
- Managing state. Is the device turned on? Ready to talk to software? Busy?
- Handling events. The device produced data: now we need to generate events to pass to other classes that are interested.
Certain devices such as sensors will have fewer concerns than say a printer/scanner/fax multifunction device. A sensor likely just produces a bit stream, while a complex device may have complex protocols and interactions.
Anyway, back to your specific question, there are several ways to do this depending on your specific requirements as well as the complexity of the hardware interaction.
Here is an example of how I would design the class hierarchy for a temperature sensor:
ITemperatureSource: interface that represents anything that can produce temperature data: a sensor, could even be a file wrapper or hard-coded data (think: mock testing).
Acme4680Sensor: ACME model 4680 sensor (great for detecting when the Roadrunner is nearby). This may implement multiple interfaces: perhaps this sensor detects both temperature and humidity. This object contains program-level state such as "is the sensor connected?" and "what was the last reading?"
Acme4680SensorComm: used solely for communicating with the physical device. It does not maintain much state. It is used for sending and receiving messages. It has a C# method for each of the messages the hardware understands.
HardwareManager: used for getting devices. This is essentially a factory that caches instances: there should only be one instance of a device object for each hardware device. It has to be smart enough to know that if thread A requests the ACME temperature sensor and thread B requests the ACME humidity sensor, these are actually the same object and should be returned to both threads.
At the top level you will have interfaces for each hardware type. They describe actions your C# code would take on the devices, using C# data types (not e.g. byte arrays which the raw device driver might use).
At the same level you have an enumeration class with one instance for each hardware type. Temperature sensor might be one type, humidity sensor another.
One level below this are the actual classes that implement those interfaces: they represent one device similar the Acme4680Sensor I described above. Any particular class may implement multiple interfaces if the device can perform multiple functions.
Each device class has its own private Comm (communication) class that handles the low-level task of talking to the hardware.
Outside of the hardware module, the only layer that is visible is the interfaces/enum plus the HardwareManager. The HardwareManager class is the factory abstraction that handles the instantiation of device classes, caching instances (you really do not want two device classes talking to the same hardware device), etc. A class that needs a particular type of sensor asks the HardwareManager to get the device for the particular enum, which it then figures out if it is already instantiated, if not how to create it and initialize it, etc.
The goal here is to decouple business logic from low-level hardware logic. When you are writing code that prints sensor data to the screen, that code should not care what type of sensor you have if and only if this decoupling is in place which centers on those hardware interfaces.

Note: there are associations between the HardwareManager and each device class that I did not draw because the diagram would have turned into arrow soup.
Info
suffix distinguishes astatic
class containing utility methods from its stateful counterpart. It's not a "best practice" as such; it's just a way that the .NET team came up with to solve a particular problem. They could have just as easily come up withFileUtility
andFile
, butFile.DoSomething()
andFileInfo.FileName
seem to read better. – Robert Harvey May 8 '15 at 15:36Foo
, you might have a non-instantiable utility classFoos
. When it comes to naming, the important thing is consistency within the API, and ideally across APIs on the platform. – Kevin Krumwiede May 9 '15 at 2:35Employee
examples are found by the dozens, either online or in classic books, while I haven't seenEmployeeInfo
yet (perhaps because an employee is a living being, not a technical construct like a connection or a file). But, agreed, if the classEmployeeInfo
were to be proposed in a project, I believe it could have its use. – heltonbiker May 14 '15 at 18:24