private void ReadyForImages() { string imageResp = _cameraCotrol.AwaitTakePicture(); string getURL = ""; string imageURL = ""; imageURL = "This PC\\ILCE-6000\\Storage Media\\2015-04-09"; if (imageResp.Contains("[")) { getURL = imageResp.Substring(imageResp.IndexOf("[[\"") + 3); imageURL = getURL.Substring(0, getURL.IndexOf("\"]]")); getURL = imageURL.Substring(imageURL.IndexOf(':') + 1); } imagesStateLabel.Content = "Image Captured"; _imageControl.ReceiveImage(imageURL, Directory.GetCurrentDirectory(), 0); imagesStateLabel.Content = "Image Saved"; }