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
M

Marcos Accioly

@Marcos Accioly
About
Posts
9
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using .NET's WMI to Identify Pen-Drive's Unique ID
    M Marcos Accioly

    Hi again mav, I actually tried the PNPDeviceID for my LG UP3D USB Device and it simply informed nothing. *But* going to msinfo32.exe gives me the following output: LG UP3D USB Device USBSTOR\DISK&VEN_LG_UP3D&PROD_&REV_\200508010001&0 USB Mass Storage Device USB\VID_043E&PID_7090\200508010001 which tells me that windows actually has a PNPDeviceId for it, that being VID_043E&PID_7090 (according to the article at Coding4Fun about the wireless usb PC Lock). Now the question is: Why? you can check out a printscreen I've done of the simple app for identifying the hardware HERE Cheers, Vini

    C# csharp question

  • Using .NET's WMI to Identify Pen-Drive's Unique ID
    M Marcos Accioly

    mav.northwind wrote:

    At least with the 4 sticks (3 different brands) I tried it with, they all kept their PNPDeviceID, even when I plugged them into another computer. But your mileage may vary...

    You're quite right, mav... Looking through msinfo32.exe I could check that it remains the same, actually. I also tested on another workstation. Thanks a lot for your help. And btw: the link that Dave (if Im not wrong) posted is very nice. If you wanna take a peek: http://msdn.microsoft.com/coding4fun/someassemblyrequired/isthatyou/default.aspx Cheers,

    C# csharp question

  • DIsplay a rtf document in RichTextBox
    M Marcos Accioly

    You are mastering the art of finding the answers for your own questions! =) Good job! Vini

    C# com tools question

  • Calling a Web Service From Desktop App
    M Marcos Accioly

    Sorry Mark for being confusing. All I wanna do is to copy, from my windows app, a bunch of configuration in an xml file to a remote server. Doesn't need necessarily be via web services. Does File.Copy accept and ftp address or something similar? Cheers! Vini

    C# question csharp sysadmin

  • problem with ref and out parameters
    M Marcos Accioly

    Aren't you missing the "out" modifier in the calling function? []'s Vini

    C# help com tutorial question

  • Calling a Web Service From Desktop App
    M Marcos Accioly

    The question is quite simple (but I could not find the best answer myself): What is the best C# way to transfer a file from a Desktop application (Windows Application) to a Server for persistance? Persisting information about a windows form is ok, but how about persisting it somewhere else on the web? Regards, Vini

    C# question csharp sysadmin

  • Using .NET's WMI to Identify Pen-Drive's Unique ID
    M Marcos Accioly

    mav.northwind wrote:

    Hi! I think Win32_DiskDrive.PNPDeviceID is unique. I tried it with two idential usb sticks and they gave different PNPDeviceID's.

    Hi Mav... Tried that but unfortunately I think I couldn't use that, as windows gives your pen-drive a different PNPDeviceID each time you plug it in. =) I needed something that could tell "Oh, this is Jimmy's pen-drive" for instance. I am developing an app in which, along with user and password, the client system has to provide an unique ID for the pen-drive being used with the app. Any other ideas? Regards... Vini

    C# csharp question

  • Declare class as partial class in CodeDOM
    M Marcos Accioly

    Happens to me all the time: ask a question to which I didn't bother enough/was too deep thinking to quickly find the answer myself. Best regards... :-D Vini - Csharpian

    C# com tools question

  • Using .NET's WMI to Identify Pen-Drive's Unique ID
    M Marcos Accioly

    Hello, I have been trying to modify the available .NET WMI examples on The Code Project so that I could uniquely identify a pen-drive (usb key). Unlike the hard disks, pen drives do not expose a property like UniqueID. Any ideas of what I could use to uniquely identify it? I have already read and tried the "normal" examples available on .NET's WMI. Thank you all in advance, Vini - CSharping a lot

    C# csharp question
  • Login

  • Don't have an account? Register

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