41. What is the purpose of the System.Net.WebSockets.ClientWebSocket class in C#? A. To create a TCP client B. To handle UDP communications C. To provide WebSocket client functionality D. To establish a connection to a TCP server Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
42. Which method is used to close a network stream in C#? A. End() B. Close() C. Terminate() D. None of the above Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
43. What is the purpose of the System.Net.WebSockets.WebSocketServer class in C#? A. To create a UDP client B. To handle UDP communications C. To implement a WebSocket server D. To establish a connection to a TCP server Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
44. Which class in C# is used for representing a URI (Uniform Resource Identifier)? A. System.Net.HttpWebRequest B. System.Net.Mail.SmtpClient C. System.Net.Sockets.TcpClient D. System.Uri Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
45. Which of these is a standard for communicating multimedia content over email? A. http B. https C. Mime D. httpd Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
46. Select the properties related to the network errors generated by WebException: A. response B. get C. set D. none of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
47. Which of these data members of HttpResponse class is used to store the response from a http server? A. status B. address C. statusResponse D. statusCode Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
48. Which of the following are the interfaces defined by the namespace System.Net? A. IAuthenticationModule B. HttpWebRequest C. WebProxy D. HttpResponseHeader Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
49. Which of the following are the protocols defined by .NET runtime? A. HTTP B. HTTPS C. File D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
50. Which of these classes is used for operating on the request from the client to the server? A. http B. httpDecoder C. httpConnection D. httpd Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board