4
Answers

Connecting Mac on Windows using Xamarin Agent

Anoop Bansal

Anoop Bansal

7y
271
1
Hello, am new to Xamarin and trying to start in mobile application on cross platform.
 
I have a Mac book with version 10 with xCode installed in it.
 
I want to connect to Mac with my Windows 10, at the Mac agent window, it is showing the local Mac but it is showing cannot connect to Mac, as I am passing correct username and password.
 
Whats wrong. can anyone assist on this, how to connect
 
 
Answers (4)
0
Sivaraman Dhamodaran
NA 61.8k 2.7m 12y
Well. You don't have any special char need in your spec.

Define a strings like:
"abcdefghijklmnopqrstuvwxyz0123456789".
"abcdefghijklmnopqrstuvwxyz"
" 0123456789"
Have a boolean flag for each.
Algo:
1) Iterate through each pwd char. Make sure the char falls in above string. When char not found, set the flag to false. When a char is lower case letter set the relevant flag to true. When a char is digit set flag related to digit as true. At the end of iteration you can check the flags to satisfy first three points.
2) For fourth point you need a inner loop that again iterates through all your chars. Here you can check the repeatable patterns.