Vidyo32.VidyoClientInEventLogin Login = new Vidyo32.VidyoClientInEventLogin();

            Login.portalUri = this.tbxIP.Text.Trim(); //"http://kaunas.vidyo.scandihealth.net"; 
            Login.userName = this.tbxID.Text.Trim(); //"test-sa3";
            Login.userPass = this.tbxPwd.Text.Trim(); //"test-sa3";



            int size = Marshal.SizeOf(Login);
            IntPtr ptr = Marshal.AllocCoTaskMem(size);
            Marshal.StructureToPtr(Login, ptr, false);

            Int32 test = Vidyo32.VidyoClientSendEvent(Vidyo32.VidyoClientInEvent.VIDYO_CLIENT_IN_EVENT_LOGIN, ptr, size);
            Login = (Vidyo32.VidyoClientInEventLogin)Marshal.PtrToStructure(ptr, typeof(Vidyo32.VidyoClientInEventLogin));

 

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2021-12-06
  • 2021-06-21
  • 2021-08-19
  • 2021-07-25
  • 2021-06-08
  • 2021-12-16
猜你喜欢
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2021-11-01
  • 2021-10-12
相关资源
相似解决方案