Hi Jose Torres Gomez,
The main issue is not the C# related. Most of the machines have no dock stations. If you want to get it, you will need to call the device if the Device supports and provides the interface to you.
I will help and move your thread to the off-topic forum. Thank you for understandings.
MSDN Community Support | Feedback to us
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?