"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Help me funtion UpdateTarget in C# using VWS) API

Hi All

Help me funtion UpdateTarget in C# using VWS) API 

   private void UpdateTarget(string targetId)        {             try            {                WebRequest httpWebRequest = WebRequest.Create(this.url + this.path + "/" + targetId);                httpWebRequest.Method = "PUT";                setHeaders((HttpWebRequest)httpWebRequest);                                using (var streamWriter = new StreamWriter(httpWebRequest.GetRequestStream()))                {                    string json = new JavaScriptSerializer().Serialize(new                    {                        active_flag = "false"                    });                     streamWriter.Write(json);                    streamWriter.Flush();                    streamWriter.Close();                     var httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();                    using (var responseReader = new StreamReader(httpResponse.GetResponseStream()))                    {                        string responseString = responseReader.ReadToEnd();                        SignatureBuilder.Debug(responseString);                    }                }                          }            catch (Exception e)            {                //logger.Debug(e);                //Error : This stream does not support seek operations.             }         }