Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 894651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:25:40+00:00 2026-05-15T14:25:40+00:00

Some software I am developing requires the presence of a USB device (which I

  • 0

Some software I am developing requires the presence of a USB device (which I interact with as a SerialPort, with a USB-to-UART bridge).

Sometimes, after a computer is being restarted from hibernation, the device is not being detected, and I can no longer write to, or read from, the device through its serial port. Having read/write access to the device is necessary.

I cannot rely on the user to take any action (physical or otherwise), so I need a way to restart the device programmatically.

How should I approach restarting a USB device programatically in Windows XP/Vista/7 using the .NET framework?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:25:40+00:00Added an answer on May 15, 2026 at 2:25 pm

    You could use the WDK (Windows Driver Kit). Lots of source code examples provided, but expect a steep learning curve.

    Devcon is a program developed by MS for demonstration purposes that sometimes works and does what you want. But be aware that it is weird and wild. Anyway, the source code is provided, so if you like to mess with device drivers, you can roll your own “Devcon” code.

    From the MS site:

    DevCon (Devcon.exe), the Device Console, is a command-line tool that displays
    detailed information about devices. Using DevCon, you can search for and
    manipulate devices from the command line. DevCon enables, disables, installs,
    configures, and removes devices on the local computer and displays detailed
    information about devices on local and remote computers.

    HTH!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing some cross platform software targeting Mono under Visual Studio and would like
I am developing some school grading software and decided to use Github to host
We have some software we use internally which is released via ClickOnce from VS
I'm looking for some software that allows me to control a server based application,
I'm looking for some software to monitor a single server for performance alerts. Preferably
I need some software to explore and modify some SQLite databases. Does anything similar
We're building some software for an in-house Kiosk. The software is a basic .net
I've written some software for a customer, and I'd like to release it to
I am writing some software to identify tracking numbers (in the same way that
I've got some software I created deployed on a Linux VM. I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.