70-511-VB Microsoft TS Windows Apps Dev Microsoft .NET Framework 4
QUESTION: 66 You use Microsoft .NET Framework 4 to create a Windows Forms application. You need to allow the user interface to use the currently configured culture settings in the Control Panel. Which code segment should you use? A. Thread.CurrentThread.CurrentUICulture = Thread. CurrentThread.CurrentCulture B. Thread.CurrentThread.CurrentCulture=Thread.CurrentThread.CurrentUICulture C. Thread.CurrentThread.CurrentUICulcure = CultureInfo.InstalledUICulture D. Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture Answer: A QUESTION: 67 You are developing a Windows Presentation Foundation (WPF) application. You are implementing the security features for a function that requires File 10. The callers of this function that are higher in the stack do not have permission to read the C:\temp directory. The function also accesses other resources that require permission. You need to ensure that the function has the proper permissions to read the C:\temp directory, and that all other resources in the function can still be accessed. Which attribute should you include with the function? A. <FileIOPeritiissionAttribute ( SecurityAction.Demand, Read:="C:\TEHP")> B. <FileIOPermissionAttribute( SecurityAction.Assert, Read:="C:\TEMP")> C. <FileIOPermissionAttribute( SecurityAction.PermitOnly, Read:="C:\TEMP")> D. <FileIOPermissionAttribute( SecurityAction.InheritanceDemand, Read:="C:\TEMP")> Answer: B QUESTION: 68 You use Microsoft .NET Framework 4 to create a Windows Forms application. You
You've reached the end of your free preview.
Want to read all 6 pages?
- Fall '20