Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebSocket websocket = new WebSocket("ws://" + IPData[0].Trim() + ":" + IPData[1].Trim());
- if (websocket.State != WebSocketState.None)
- {
- var videoIntent = new Intent(this, typeof(VideoActivity));
- StartActivity(videoIntent);
- }
- else
- {
- new AlertDialog.Builder(this)
- .SetPositiveButton("Ok", delegate
- {
- })
- .SetTitle("Connection Error")
- .SetMessage("Not Connect to server")
- .Show();
- }
- })
- .SetTitle("IP Updated")
- .SetMessage("IP Info Updated Successfully")
- .Show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement