Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Tape Drive access

Tape Drive access

Scheduled Pinned Locked Moved C#
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shaun Becker
    wrote on last edited by
    #1

    Is it possible to read, write, and perform drive maintenance(cleaning, inventory, etc.) on a tape drive from C#? Thanks alot

    H 1 Reply Last reply
    0
    • S Shaun Becker

      Is it possible to read, write, and perform drive maintenance(cleaning, inventory, etc.) on a tape drive from C#? Thanks alot

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Is it possible? Sure. Would anyone sane want to do it? Absolutely not. Tape drive access is a very low-level, huge set of operations. You'll need to P/Invoke so many functions and declare so many structs and consts/enums that you'll probably never get to the meat of the development, unless you can find some COM control to interop or a wrapper DLL that you can P/Invoke, but you probably won't since this is not something that consumers typically "play with". The software you use with your drive (Veritas Backup, et. al.) may have some undocumented APIs you could P/Invoke, but as they're most likely undocumented for a reason you'll have a REALLY tough time. See the Windows DDK (driver development kit) for details. It's huge and it's ugly.

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups