authority

.NET - Get protocol, host, and port

Is there a simple way in .NET to quickly get the current protocol, host, and port? For example, if I'm on the following URL: http://www.mywebsite.com:80/pages/page1.aspx I need to return: http://www.mywebsite.com:80 I know I can use Request.Url.AbsoluteUri to get the complete URL, and I know I can use Request.Url.Authority to get the...

C# utility to create a CA

I'd like to create a utility in C# to allow someone to easily create a Certificate Authority (CA) in Windows. Any ideas/suggestions? I know I can use OpenSSL to do this. In the end, I'll want this utility to do more than just generate a CA. I'd also like to avoid requiring the installation of OpenSSL in order to run my utility. ...

Authority/AuthorScript Books/References

Hi, I was cleaning out some of my directories to free up space and found an old copy of Authority. It was an old 4GL (4th generation language) that let you “program” by dragging-and-dropping things, and had a scripting language as well—a lot like Flash. I think we used it briefly in school for a bit (10 minutes?), but I don’t remember...

How to know whether I have admin authority in windows?

Is there any APIs in windows to detect whether the current user(current now) has the admin authority? BOOL IsHasAuthority() { } Many Thanks! ...