Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void SetLock(string name, bool value)
- {
- HttpContext.Current.Application.Lock();
- HttpContext.Current.Application[name] = value;
- HttpContext.Current.Application.UnLock();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement