|
|
От: |
Allaire
|
|
| Дата: | 17.11.05 11:00 | ||
| Оценка: | |||
M>[PrincipalPermissionAttribute(SecurityAction.Demand, Name = "MyUser", Role = "User")]
M>public static void PrivateInfo()
M>{
M> //Print secret data.
M> Console.WriteLine("\n\nYou have access to the private data!");
M>}
M>