Click here to Skip to main content
15,907,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Richard MacCutchan23-Aug-20 2:00
mveRichard MacCutchan23-Aug-20 2:00 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Dave Kreskowiak23-Aug-20 4:07
mveDave Kreskowiak23-Aug-20 4:07 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Brian_TheLion23-Aug-20 14:30
Brian_TheLion23-Aug-20 14:30 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Dave Kreskowiak23-Aug-20 18:38
mveDave Kreskowiak23-Aug-20 18:38 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Brian_TheLion24-Aug-20 16:55
Brian_TheLion24-Aug-20 16:55 
AnswerRe: Creating a Windows form program using C# 8.0 Pin
Mycroft Holmes23-Aug-20 12:22
professionalMycroft Holmes23-Aug-20 12:22 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Brian_TheLion24-Aug-20 16:57
Brian_TheLion24-Aug-20 16:57 
AnswerRe: Creating a Windows form program using C# 8.0 Pin
Richard Deeming23-Aug-20 23:11
mveRichard Deeming23-Aug-20 23:11 
GeneralRe: Creating a Windows form program using C# 8.0 Pin
Brian_TheLion24-Aug-20 17:01
Brian_TheLion24-Aug-20 17:01 
Question{Solved} Find and count duplicates in a list Pin
Acuena20-Aug-20 2:51
Acuena20-Aug-20 2:51 
AnswerRe: Find and count duplicates in a list Pin
OriginalGriff20-Aug-20 3:38
mveOriginalGriff20-Aug-20 3:38 
GeneralRe: Find and count duplicates in a list Pin
Acuena24-Aug-20 4:16
Acuena24-Aug-20 4:16 
GeneralRe: Find and count duplicates in a list Pin
OriginalGriff24-Aug-20 4:24
mveOriginalGriff24-Aug-20 4:24 
GeneralRe: Find and count duplicates in a list Pin
Acuena24-Aug-20 5:07
Acuena24-Aug-20 5:07 
GeneralRe: Find and count duplicates in a list Pin
OriginalGriff24-Aug-20 5:39
mveOriginalGriff24-Aug-20 5:39 
GeneralRe: Find and count duplicates in a list Pin
Acuena25-Aug-20 4:13
Acuena25-Aug-20 4:13 
GeneralRe: Find and count duplicates in a list Pin
OriginalGriff25-Aug-20 4:43
mveOriginalGriff25-Aug-20 4:43 
AnswerRe: Find and count duplicates in a list Pin
Afzaal Ahmad Zeeshan20-Aug-20 4:37
professionalAfzaal Ahmad Zeeshan20-Aug-20 4:37 
AnswerRe: Find and count duplicates in a list Pin
BillWoodruff22-Aug-20 21:58
professionalBillWoodruff22-Aug-20 21:58 
QuestionPowerApps and C# Pin
Member 1127440117-Aug-20 6:08
Member 1127440117-Aug-20 6:08 
AnswerRe: PowerApps and C# Pin
Dave Kreskowiak17-Aug-20 7:42
mveDave Kreskowiak17-Aug-20 7:42 
QuestionBinding picture box with column with oracle Pin
mohammed alherwi14-Aug-20 23:26
mohammed alherwi14-Aug-20 23:26 
AnswerRe: Binding picture box with column with oracle Pin
Eddy Vluggen22-Aug-20 10:11
professionalEddy Vluggen22-Aug-20 10:11 
QuestionHow to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Member 1177073713-Aug-20 14:10
Member 1177073713-Aug-20 14:10 
Am trying to read/write to card using RFID reader, but the RFID reader is appearing under Human Interface Device, so far I have been able to get all Human Interface Devices into a DropDownlist using HidLibrary here is my code

C#
HidDevice[] mahdDevices;
    private void Form1_Load(object sender, EventArgs e)
    {
        mahdDevices = HidDevices.Enumerate().ToArray();
        
        for (int i = 0; i < mahdDevices.Length; i++)
        {
            cmbDevices.Items.Add(mahdDevices[i].Description);
        }
    }

But now am not sure of how to send and receive data from the HID selected on the drop downlist, I also checked Hardware IDs of RFID device in properties, No idea on what to do with the IDs or how to communicate with HID devices to scan card, this is how i usually communicate with devices using serial port:

C#
_port = new SerialPort();
        _port.PortName = comboBox2.Text;
        _port.BaudRate = 9600;
        _port.Parity = Parity.None;
        _port.DataBits = 8;
        _port.StopBits = StopBits.One;

        if (_port.IsOpen)
        {
            textBox1.Clear();
        }
        else
        {
            _port.Close();
        }
        _port.DataReceived += new SerialDataReceivedEventHandler(RFID_DataReceiver);

Please I need help communicating with HIDs.
AnswerRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Dave Kreskowiak13-Aug-20 16:28
mveDave Kreskowiak13-Aug-20 16:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.