Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public void SetLock(string name, bool value)
  2. {
  3. HttpContext.Current.Application.Lock();
  4. HttpContext.Current.Application[name] = value;
  5. HttpContext.Current.Application.UnLock();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement