private unsafe void button1_Click(object sender, EventArgs e)
    {
        byte nb_Device = 0;

        ushort[] data = new ushort[8];

        _UF01_INFORMATIONS m_infos = new _UF01_INFORMATIONS();

        m_infos.Type          = new byte[8];
        m_infos.Nb_Voies      = new byte[8];
        m_infos.Modele        = new byte[8];
        m_infos.Name          = new string[8];
        m_infos.Comments      = new string[8];
        m_infos.Nombre_Module = 0;
        m_infos.UseInterrupt  = false;
        if (UF01_OpenDevices(ref nb_Device))
        {
            this.label1.Text = "Nombre de CPU's : " + nb_Device;
            if (UF01_GetInfosModule(nb_Device, false, ref m_infos))
            {
                label2.Text = "Nombre de modules : " + m_infos.Nombre_Module.ToString();
            }
            if (UF01_UA01_Entrees(nb_Device, 1, ref data))
            {
                label3.Text = "Donnee : " + data[0].ToString();
            }
        }
    }
 unsafe static extern Boolean UF01_GetInfosModule(byte Device, bool Watchdog, ref _UF01_INFORMATIONS infos);