Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.IO;
- using System.Security;
- using System.Security.Policy;
- using System.Reflection;
- [assembly: AllowPartiallyTrustedCallers]
- namespace Core
- {
- public static class Core
- {
- [SecurityCritical]
- public static void RunSafe()
- {
- StreamWriter w = new StreamWriter("ups.txt", true);
- w.WriteLine("Ups...");
- w.Close();
- }
- [SecuritySafeCritical]
- public static void Run()
- {
- RunSafe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement