コード例 #1
0
ファイル: RDP.cs プロジェクト: marwansamaha/Screenary
        public RDP()
        {
            handle = freerdp_new();

            iUpdate = null;
            iPrimaryUpdate = null;
            iSecondaryUpdate = null;
            iAltSecUpdate = null;

            hContextNew = new pContextNew(ContextNew);
            hContextFree = new pContextFree(ContextFree);

            handle->ContextNew = Marshal.GetFunctionPointerForDelegate(hContextNew);
            handle->ContextFree = Marshal.GetFunctionPointerForDelegate(hContextFree);

            freerdp_context_new(handle);
        }
コード例 #2
0
ファイル: RDP.cs プロジェクト: hlnguyen21/FreeRDP-Sharp
        public RDP()
        {
            handle = freerdp_new();

            iUpdate = null;
            iPrimaryUpdate = null;
            iSecondaryUpdate = null;
            iAltSecUpdate = null;

            hContextNew = new pContextNew(ContextNew);
            hContextFree = new pContextFree(ContextFree);

            handle->ContextNew = Marshal.GetFunctionPointerForDelegate(hContextNew);
            handle->ContextFree = Marshal.GetFunctionPointerForDelegate(hContextFree);

            hAuthenticate = new pAuthenticate(Authenticate);
            hVerifyCertificate = new pVerifyCertificate(VerifyCertificate);

            handle->Authenticate = Marshal.GetFunctionPointerForDelegate(hAuthenticate);
            handle->VerifyCertificate = Marshal.GetFunctionPointerForDelegate(hVerifyCertificate);

            freerdp_context_new(handle);
        }
コード例 #3
0
ファイル: GDI.cs プロジェクト: marwansamaha/Screenary
 public GDI(freerdp* instance)
 {
     this.flags = 0;
     this.instance = instance;
 }
コード例 #4
0
ファイル: Update.cs プロジェクト: marwansamaha/Screenary
 public Update(rdpContext* context)
 {
     this.context = context;
     this.instance = context->instance;
     this.update = instance->update;
 }
コード例 #5
0
		public SecondaryUpdate(rdpContext* context)
		{
			this.context = context;
			this.instance = context->instance;
			this.update = instance->update;
			this.secondary = update->secondary;
		}
コード例 #6
0
 public PrimaryUpdate(rdpContext* context)
 {
     this.context = context;
     this.instance = context->instance;
     this.update = instance->update;
     this.primary = update->primary;
 }
コード例 #7
0
		public AltSecUpdate(rdpContext* context)
		{
			this.context = context;
			this.instance = context->instance;
			this.update = instance->update;
			this.altsec = update->altsec;
		}