Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (var st = new FileStream(MenifestPath, FileMode.Open, FileAccess.Read))
- {
- using (TextReader r = new StreamReader(st))
- {
- var xml = r.ReadToEnd();
- r.Close();
- st.Close();
- //................ Rest of our operations
- }
- }
- string xmlText = File.ReadAllText(ManifestFile);
Add Comment
Please, Sign In to add comment