WPF作为不同的用户运行

WPF作为不同的用户运行

本文介绍了C# - WPF作为不同的用户运行,但在App中使用登录的凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


不确定是否可能,但标题几乎解释了它。我正在构建一个桌面应用程序。用户需要使用特殊帐户来运行应用程序,以便他/她可以在应用程序中使用某些命令。但与此同时,在某些部分的应用程序中,我希望用户
能够使用他/她登录的凭据(例如访问他们已经过身份验证的网站)。这有可能吗? 


如果可能的话,有人会给出一个简单的C#示例吗? 


提前致谢。 




BesiktASK

解决方案

Hi Everyone,

Not sure if possible but the title pretty much explains it. I'm building a desktop app. The user needs to use a special account to run the app so he/she can use some commands in the app. But at the same time, within the app in some sections, I want the user to be able to use his/her logged in credentials (for example accessing a website that they already have been authenticated). Is this even possible? 

Can someone give a simple C# example if possible? 

Thanks in advance. 


BesiktASK

解决方案


这篇关于C# - WPF作为不同的用户运行,但在App中使用登录的凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 06:58