Eagessinniz
New Member
Here i do not want to wait for response from server because i do not care about response forthese httpwebrequest.is it ok? or will it affect system in future?\[code\]HttpWebRequest PostRequest = (HttpWebRequest)WebRequest.Create(PostUrl); PostRequest.ContentType = PostContentType; PostRequest.Method = "POST"; byte[] bytes = Encoding.ASCII.GetBytes(DataUrl); try { PostRequest.ContentLength = bytes.Length; using (Stream webpageStream = PostRequest.GetRequestStream()) { webpageStream.Write(bytes, 0, bytes.Length); } } catch (Exception ex) { // }\[/code\]Thanks