예제 #1
0
        private void BioStar_Load(object sender, EventArgs e)
        {
            int result = BSSDK.BS_InitSDK();

            if (result != BSSDK.BS_SUCCESS)
            {
                MessageBox.Show("Cannot initialize the SDK", "Error");
                return;
            }

            result = BSSDK.BS_OpenInternalUDP(ref m_Handle);

            if (result != BSSDK.BS_SUCCESS)
            {
                MessageBox.Show("Cannot open internal UDP socket", "Error");
                return;
            }
        }