本文介绍了在大型C#项目中创建标准exe程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人, 我在c#frondend中创建了一个大项目并访问后端.这是我的第一个项目.我想将其转换为带有密码保护的标准exe程序.如何包括桌面图标,横幅,自述文件,条款和条件卸载等....请详细帮助我 MadhukumarViswanath
Dear all, I make a big project in c# frondend and access backend.This is my first project. I wand to convert it to a standard exe programe with password protected. How to include desktop icon, banner, readme file, terms and conditions uninstal and so on.... Please help me in details MadhukumarViswanath
推荐答案使用Windows域用户ID和密码轻松嵌入您的应用程序. .NET框架提供WindowsPrincipal类来处理它. Itz easy to embed your application with Windows domain user ID and password. .NET framework provides WindowsPrincipal class to handle it. using System.Security.Principal; { WindowsPrincipal myPrincipal = (WindowsPrincipal)Thread.CurrentPrincipal; if myPrincipal.IsInRole("BUILTIN\\" + "Users")) {...} }
更多推荐
在大型C#项目中创建标准exe程序
发布评论