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

  • SEARCH
  • Home
  • 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

We are developing a website which is required some software to install for first
Dofactory has a 3.5 framework for developing software and includes some design patterns which
I'm developing some image processing software in C++ on Intel which has to run
I'm developing some software which uses a texture map to store geometry. Using GL_RGB
I'm developing S/W for some device which uses Linux O.S. So, the size of
I am developing some convenience wrappers around another software package that defines a bash
I've developed some software on my Desktop which runs Windows 7 and the software
I'm working on some software to manage a device that communicates with a remote
I am developing software for some YouTube channels not owned by myself. To retrieve
I am developing some scientific software for my university. It is being written in

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.