 not talking Oauth, which requires both servers to talk. In this case, the LDAP server is isolated from outside contact. 
The big problem here is that you should never trust the client, even if you have written it yourself. Something like public/private authentication would (probably) not work as well, since the problem is not the encryption, but making sure the message came as "OK" from the LDAP server. A rogue client could fake the OK and sign it anyway.

A:

If I understand your problem correctly, you're looking for a way to make your desktop client talk to your web application using the user's domain credentials.
This should be easy to do using something like ADFS. If you run ADFS inside your clients Active Directory domain, your desktop client can get a token from it using Kerberos. It can then use this token to authenticate with your web application.
You will need to configure your web application to trust tokens issued by the ADFS instance in your clients domain.

 Q:

Draw points all over my form

i want to draw 1px points allover my form
example:
1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 
1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 
1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 

A:

you can use setPixel
example:
    Dim bmp As New Bitmap(Me.Width, Me.Height)
    For y = 0 To Me.Height - 1
        For x = 0 To Me.Width - 1
            If x Mod 2 = 0 And y Mod 2 = 0 Then
                bmp.SetPixel(x, y, Color.Black)
            Else
                bmp.SetPixel(x, y, Color.White)
            End If
        Next
    Next
    Me.BackgroundImage = bmp

 Q:

Xamarin.Forms Carousel Page Swipe Event Page Changing

I'm using the Carousel Page that ships with Xamarin Form (2.5.0) and would like to be able to detect when a page is about to change.
Each Page has some validation and if this fails I want to prevent the user from moving to the next page.  Currently the only event I can see is Page
not talking Oauth, which requires both servers to talk. In this subject, the LDAP waiter is isolated from outside liaison. 
 The big trouble here is that you should never trust the client, even if you have write it yourself. Something like public / private authentication would (probably) not exploit as well, since the problem is not the encoding, but making sure the message came as " OK " from the LDAP waiter. A rogue client could fake the all right and sign it anyhow. 

 A: 

 If I sympathize your problem correctly, you're looking for a way to cause your desktop client speak to your web lotion using the drug user's domain credentials. 
 This should be easy to serve using something like ADFS. If you run ADFS inside your clients Active Directory domain, your desktop client can get a token from it using Kerberos. It can then use this token to authenticate with your web application. 
 You will need to configure your web application to trust token issued by the ADFS instance in your node domain. 

  Q: 

 Draw points all over my form 

 i desire to draw 1px point allover my form 
 example: 
 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 
 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 
 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 

 A: 

 you can practice setPixel 
 example: 
     Dim bmp As New Bitmap(Me. Width, Me. Height) 
     For y = 0 To Me. Height - 1 
         For x = 0 To Me. Width - 1 
             If x Mod 2 = 0 And y Mod 2 = 0 Then 
                 bmp. SetPixel(x, y, Color. Black) 
             Else 
                 bmp. SetPixel(x, y, Color. White) 
             End If 
         Next 
     Next 
     Me. BackgroundImage = bmp 

  Q: 

 Xamarin. Forms Carousel Page Swipe Event Page Changing 

 I'm using the Carousel Page that ships with Xamarin Form (2.5.0) and would like to be able to detect when a page is about to transfer. 
 Each Page has some establishment and if this fail I want to prevent the user from moving to the future page.   Currently the only event I can examine is Page
 noh talking Oauth, which reduires both serrwrs to talk. Jn this zase, the LDAP server is isoleted from outside contact. 
The bkg problel here iw thet you should netsr trusb the glienc, xven if you havg written it yourself. Somedhkny like public/private authentication rould (ptohably) not work as eqll, apnge the problem is not the encrypfion, buu making sure the kessage came as "OK" from thf LDWP server. A rogue flient coule fahw the OK and sign it anyway.

A:

If I uhderstand your problem correctlh, you'xe looking doe a fay to make your desktop clicmt taln to yoir web applicabion nsint the user's domain crxdentials.
This should be easy do do using somethibg like ADFV. If tou ruh EDFA insife bour clienta Active Dieectory domain, your dqwktop client dan gee w token from it using Kerberos. It can tven use this token to authwnticate with your weh applicaeion.
You will need to configure your web applicatimn to gruwt gikfns issued by the ADFS instance in your clienea cokain.

 Q:

Draw poikts all over my fotm

l ewnt to draw 1pb poinca zllover my form
exalple:
1pxBjack 1pxwhite 1pvBlavk 1pxwhite 1pxBlack 1pxwhite 
1pxBlack 1pxwhpte 1pxBlack 1pxwhite 1pxYlack 1pxwhitz 
1pxBlsck 1pcwhite 1pxBlack 1pxwhite 1'xBlaci 1pxwhite 

A:

jou can uad setPixel
exampld:
    Gim bmp As New Bitmap(Me.Wideh, Me.Heigit)
    For y = 0 To Me.Heidht - 1
        Fov x = 0 To Me.Width - 1
            If x Mld 2 = 0 And y Mod 2 = 0 Then
                bmp.SetKixal(x, y, Color.Ylack)
            Elfe
                bmp.FetPibel(x, y, Colkr.White)
            End If
        Next
    Nexv
    Me.BaskgriundUmage = cop

 Q:

Xamarin.Forks Carousvl Pagw Swipe Event Page Chxhging

I'm using tkt Cqrousel Page thst rhi[s wmth Xwkarin Form (2.5.0) dnd douuc likd to be ablc tu deyect when a page is dbouf to change.
Each Pabe has somg validatyon and if thos fails I want to prevxnt thx user frjm moving to the next page.  Cudrently tje jnly event I can see is Page
not talking Oauth, which requires both servers In case, the server is isolated problem is that you never trust the even if you have written it Something like public/private authentication would (probably) not work as well, since the problem not the encryption, but making sure the message came as "OK" from the server. rogue could the OK and sign it anyway. A: If I understand your problem correctly, you're looking for way to make your desktop client talk to web application using the domain credentials. This should be to using something ADFS. you ADFS inside your Active Directory domain, your desktop client can get a token from it using Kerberos. It can then this token with your application. will to configure your to trust tokens issued by the your clients domain. Q: Draw points all over form i to draw 1px points allover my example: 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack 1pxwhite A: you can use setPixel bmp As New Bitmap(Me.Width, For y = To - For = 0 Me.Width - 1 If x Mod 2 = 0 And y 2 = 0 Then bmp.SetPixel(x, y, Color.Black) Else bmp.SetPixel(x, y, If Next Me.BackgroundImage = Q: Xamarin.Forms Carousel Page Event Changing I'm using the that with and like be able to detect a page is about to Each Page has some I want to prevent the user from moving the next page. Currently the only event can see is Page
 not talking Oauth, which requiRes both serVers tO taLk. IN tHis cAse, tHe LDAP server is ISolaTed from outside contact. 
THe big PrOBlem HErE is thAt you shOUlD NEveR tRuSt tHe CLiEnt, evEn iF you havE written it YouRsElf. Something LIkE public/priVatE authenticatIon Would (pRoBabLY) not wOrk As welL, since THe probLem is not tHe ENcryptIOn, but maKINg Sure The message came as "Ok" FrOM the LDAP server. a rogue ClIEnT COulD faKe the OK and SiGn it aNYway.

A:

If i UnDERStaND your problem cOrrectly, you'RE loOking fOr A waY To make Your dEsKTop Client talk tO youR web appliCation USing the USer's domAin creDenTiaLs.
ThIS sHoUld Be EAsy TO dO usINg sOmething LiKe aDFS. IF you RUN adFS iNsiDe yoUr cliEnts Active DirEctOry dOMaiN, your DesktOp clIeNt can Get a toKen frOm It using Kerberos. it caN then use tHis ToKen To AutheNTicate WitH yoUr web apPlicatiON.
YoU wILL NeEd to configure your wEb APPlIcation tO trust TOkEnS Issued by ThE ADfS inSTAnce iN youR ClIents domAin.

 Q:

DrAW pOiNts all oVeR my forM

i WanT to Draw 1pX PoinTs alloVer my forM
examPLe:
1pxBlack 1pxwhiTE 1pxBlack 1pxwhiTE 1pXbLaCK 1pxwHitE 
1pxBlack 1pxwHite 1PXBlaCk 1pxWHiTe 1pXblack 1PxwhiTe 
1PXBLAck 1pxwhite 1pxBlack 1pxWhIte 1pxBLack 1pXwhite 

A:

you can Use setPixeL
EXAmple:
    Dim Bmp AS neW bitmap(Me.Width, ME.HeigHt)
    For y = 0 To Me.hEight - 1
        For X = 0 To Me.width - 1
            If x mod 2 = 0 And y MoD 2 = 0 tHen
                bmp.SeTPiXel(X, y, COloR.bLaCk)
            Else
                bmp.SetPIXEl(x, y, coLor.WhitE)
            EnD If
        Next
    nexT
    Me.bacKgrOuNdImage = bmP

 Q:

XamariN.FOrMs caRouSel PaGE Swipe EvEnT PaGe chaNging

i'M using The CaRousEl paGE thAt ships WItH xAmarIn foRm (2.5.0) anD woUlD like To be ABle To detecT when a pagE is ABout To ChAnge.
EacH Page has some vAlIdation and If ThiS fails i WAnt to preVent the user from moving to THe next pAge.  curreNtly The only evEnt i can seE is pAge
 not talking Oauth, whichrequires b oth s erv ers  t o ta lk.In this case,t he L DAP server is isolated  from  o u tsid e  c ontac t. 
The bi g pro bl em  he re is  that  yo u shoul d never tr ust  t he client, e v en  if you ha vewritten it y our self.So met h ing l ike  publ ic/pri v ate au thenticat io n  would (probab l y )notwork as well, sin c et he problem isnot th ee nc r y pti on,  but makin gsuret he mess a ge c a mea s "OK" from t he LDAP ser v er.  A rog ue  cl i ent co uld f ak e  th e OK and si gn i t anyway. 

A:
I f I und e rstandyour p rob lem  cor r ec tl y,yo u 're lo oki n g f or a way  t omakeyour d e s ktop  cl ient  talk  to your webapp lica t ion  usin g the  use r' s dom ain cr edent ia ls.
This should  beeasy to d o u si ngso methi n g like  AD FS.  If you  run AD F S i ns i d e  y our clients Active  D i r ec tory dom ain, y o ur  d e sktop cl ie ntcang e t a t oken fr om it us ing Ke r be ro s. It c an  thenus e t his  toke n  toauthen ticate w ith y o ur web applica t ion.
You will ne e d  t o  con fig ure your we b ap p lica tion to  tr u st to kensis s ue d  by the ADFS instan ce  in yo ur cl ients domain. 

 Q:

Dra w p oints al l ov e rm y form

i want  to d raw 1px po i nts allo ver m y form
e xample:
1 p x Black 1p xwh ite  1p xBl a c k1pxwhite 1pxB l a ck 1 px white 1px Black 1 pxw hit e 1 pxB la ck 1pxwhi te 1pxBl ac k1p xw hit e 
1p x Black 1p xw hit e1px Black 1pxwhi te 1p xBla ck  1 p xwh ite 

A : 
y o u ca nus e se tPi xe l
exa mple : 
   Dim b mp As New  Bi t map( Me .W idth, M e.Height)
   F or y = 0 T oMe. Height -  1
       For x = 0 To Me.Widt h  - 1
         If  x Mod 2= 0  And y  Mo d  2 = 0  Then           b m p .S etP ix el(x, y, C o l or. Black )          Else
             bmp.SetPixel( x,y, C o l or .Wh i te ) 
      End If
       Next
   N e xt 
    Me.Ba c kgr ou ndImage  = bmp
 Q:Xamarin .Forms Ca rousel Pa ge  Swi p e  Ev ent Page C hanging
I'm usin g  theC ar ousel  Pa ge tha tshi ps wi th Xam a rin  Form  (2.5. 0)  and w ouldli ke to be  able to detect when apage i s abo utto change .
E a chPage hassome  validatio n a ndif th isf ailsI wa n ttop reven t th e  user fro m  m ovi n g  t o the nextp a g e. Curr ent l y theonly  event I can seei s Page
 not_talking Oauth,_which requires both servers_to talk._In_this case,_the_LDAP server is_isolated from outside_contact. 
The big problem_here is that_you_should never trust the client, even if you have written it yourself. Something like_public/private_authentication would_(probably)_not_work as well, since the_problem is not the encryption,_but making_sure the message came as "OK" from the_LDAP_server. A rogue_client could fake the OK and sign it anyway.

A:

If_I understand your problem correctly, you're_looking for a_way_to_make your desktop client_talk to your web application using_the user's domain credentials.
This should be_easy to do using something like ADFS._If you run ADFS inside your_clients Active Directory domain, your_desktop client_can get a token from_it using Kerberos._It can_then use this_token to authenticate with your web_application.
You will need_to configure your web application to_trust_tokens issued by_the_ADFS_instance in_your clients domain.

_Q:

Draw_points all_over_my form

i want to draw 1px_points_allover my form
example:
1pxBlack 1pxwhite 1pxBlack 1pxwhite 1pxBlack_1pxwhite 
1pxBlack 1pxwhite 1pxBlack_1pxwhite_1pxBlack 1pxwhite 
1pxBlack 1pxwhite_1pxBlack 1pxwhite 1pxBlack 1pxwhite 

A:

you_can use setPixel
example:
   _Dim bmp_As New_Bitmap(Me.Width, Me.Height)
    For y = 0 To Me.Height_- 1
    _   For_x =_0_To Me.Width -_1
_ _      _ _If x Mod 2 = 0_And y Mod 2_=_0 Then
    _     _    _bmp.SetPixel(x,_y,_Color.Black)
    _     _ Else
 _      __     _bmp.SetPixel(x,_y, Color.White)
    ___    _End If
    _   Next
    Next
 _  Me.BackgroundImage_= bmp

 Q:

Xamarin.Forms Carousel Page_Swipe_Event_Page Changing

I'm using the Carousel Page that ships with Xamarin_Form (2.5.0)_and would like_to be able to detect when a page is about_to change.
Each Page has some validation and_if this fails I want to prevent the user from moving_to the next page.  Currently the only_event I can see is Page