Silverlightt 4.0 信任模式在 Mac 上意味着什么?
对于 Mac 场景,我们需要考虑什么特殊注意事项吗?此外,对于诸如 COM 互操作之类的功能不适用于 Mac,您如何为您的代码提供这些功能的可见性?
if (Silverlight.Environment.SupportsCOMInterop) {
// do stuff
}
更一般地说,您的代码能否确定它是在 Mac 还是 Windows 上运行?
Are there any special considerations we will need to take into account for Mac scenarios? Furthermore, with features such as COM interop which aren't applicable on a Mac, how do you give visibility of these capabilities to your code?
if (Silverlight.Environment.SupportsCOMInterop) {
// do stuff
}
More generally, could your code determine whether it's running on a Mac or Windows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据事后的现场发言(大约 2 小时前):除了缺少 COM(显然)之外,Mac 上的可信模式应该相当于 Windows 上的 TM(访问硬件/摄像头/键盘/文件系统)。
According to the LIVE speak afterwards (approx. 2h ago): besides the lack of COM (obviously) Trusted Mode on Mac should be equivalent to the TM on Windows (access to hardware/cam/keyboard/file-system).
Shawn Wildermuth 昨晚在亚特兰大发表演讲,讨论了 Mac 上的 Elevated Trust(非完全信任)的一些潜在兼容性问题。他提到拖放支持将会很困难,因为 Safari/Firefox(不记得是哪一个)在 Mac 上的浏览器外运行方式。 Mac 上的 HTML 嵌入也可能是一个问题。 Shawn 今晚在 notatpdc.com 上谈论 SL4 功能。您可能想参加并询问:http://www.notatpdc.com/Schedule/Detail/ 20(注意,时间是中心时间)。
Shawn Wildermuth gave a talk last night in Atlanta and he discussed some of the potential compatability issues with the Elevated Trust (not Full Trust) on the Mac. He mentioned that Drag-and-Drop support is going to be difficult because of the way Safari/Firefox (can't remember which one) is used to run out-of-browser on the mac. HTML embedding on the Mac might also be an issue. Shawn is speaking at notatpdc.com tonight about SL4 features. You might want to attend and ask: http://www.notatpdc.com/Schedule/Detail/20 (note, time is central time).