windows-8.1

Encrypt string with Bouncy Castle AES/CBC/PKCS7

荒凉一梦 提交于 2019-12-03 08:22:08
问题 I have been looking everywhere for some sample code on how to encrypt a simple string with the encryption in the title using the Bouncy Castle Framework. This code will run on a Windows Universal project. My previous attempts to encrypt using the build in API's failed to decrypt on the server. I tried this: which gives me a string like: 4pQUfomwVVsl68oQqWoWYNRmRM+Cp+vNFXBNdkN6dZPQ34VZ35vsKn9Q7QGTDVOj+w5mqVYHnGuAOFOgdgl8kA== s = String.Format("{0}_{1}", s, DateTime.Now.ToString("ddMMyyyyHmmss"

OpenProcess: access denied error only on Windows 8.1

懵懂的女人 提交于 2019-12-03 08:21:32
I have a program which adjusts SeDebugPrivilege and then starts to iterate through system processes and calls OpenProcess for them (and does other stuff, but it's not important now). Also the program runs in administrator mode of course. On Windows XP and Windows 7 it works fine , but on Windows 8.1 OpenProcess fails for the following system processes with ERROR_ACCESS_DENIED(5): smss.exe, csrss.exe, services.exe . As I know with SeDebugPrivilege I should be able to open these processes and retrieve a handle for them. Does anybody have a clue, what kind of magic causes this error only on

http client cancel request in windows 8.1

那年仲夏 提交于 2019-12-03 07:50:56
问题 I am working on a Windows Phone 8.1 project. There are two versions of http client in Windows 8.1 - system.net.http and windows.web.http . Microsoft recommends using the later. So, I decided to go with it. But I can't find a way to cancel the web request started with windows.web.http.httpclient . In system.net.http.httpclient there is a CancelPendingRequests method but no similar methods exist for the later option. So, is it possible to cancel the web request and if so how? Sample Code:

How can i import windows.media.capture in my WPF project?

房东的猫 提交于 2019-12-03 07:49:07
I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1. FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't find the namespace. Am I missing something? Dika Arta Karunia Finally I've done developing app for windows 8.1 Table in Windows 7 x64 and want to share some experience that i had in here. Steps : Edit .csproject in wpf app (Add <TargetPlatformVersion>8.1</TargetPlatformVersion> Inside <PropertyGroup> ) Add

How to use SQLite on new Windows 8.1 Store app (Visual Studio 2013)

我们两清 提交于 2019-12-03 06:57:45
So, I installed Visual Studio 2013 on my Windows 8.1 box. I want to experiment with it and created a new Windows Store Grid App . I want to persist data on a SQLite database, apparently the database of choice for WinRT apps. Quickly found links to the vsix needed in order to be able to use the SDK: SQLite download page , and downloaded sqlite-winrt81-3080002.vsix. Installed it, then in my project, added the reference to the newly installed SDK (right click references, add reference, navigate to Windows, select extensions and tick SQLite for Windows Runtime (Windows 8.1) checkbox. Also quickly

How to install VB6 SP6 on Windows 8.1 x64?

血红的双手。 提交于 2019-12-03 06:09:55
Need to support some old projects directly in the newest OS, not in a virtual machine. I've installed VB6 from the VS6 disk #1 successfully, but I cannot install the SP6 for this development environment. When I launch it, an information window that informs me about the installation progress appears for some milliseconds, but the required files (ADVPACK.DLL, msvbvm60.dll, ...) aren't updated in the system folder. The About dialog in VB6 IDE also proves that - I do not see "SP6" anywhere in it. How to install the SERVICE PACK 6 (not the VB IDE itself) in this OS? Solved my "problem" - very

Windows 8.1 unable to install .NET Framework 3.5 0*800F0906

吃可爱长大的小学妹 提交于 2019-12-03 06:04:00
After trying to install .net 3.5 via the program and features (see below). I was getting unable to install error 800F0906 I am using windows 8.1. I inserted windows 8.1 dvd and mounted to d drive then executed from powershell. Open admin command prompt Type powershell From ps prompt type Enable-WindowsOptionalFeature -Online -FeatureName 'NetFx3' -Source 'd:\sources\sxs' It did take 5 minutes to run. See http://yellowduckguy.wordpress.com/2012/10/19/windows-8-fix-enable-feature-net-3-5-error-0x800f0906/ for a detailed description. Enter in cmd (run with administratoir rights): dism /online

Installing MPI for Windows

纵然是瞬间 提交于 2019-12-03 05:29:30
I am trying to install MPI for Windows 8, so when I searched net I got steps for installing it on XP/7 but not for windows 8. The link is: http://swash.sourceforge.net/online_doc/swashimp/node9.html But firstly when I have to allow mpi.exe and smpd.exe to communicate through firewall these exe files are not listed. Secondly, when I run cmd(as administrator) and type : "smpd -install", it says : "Unknown option: -install". I guess the command for windows 8 is something else. So I will be really grateful if anyone helps with it because I'm not able to proceed further. Side note before I start,

ObservationCollection that implements ISupportIncrementalLoading within ViewModel inside PCL using MVVM architecture for WinRT & WP8/WinPRT support

折月煮酒 提交于 2019-12-03 04:42:05
I have my ViewModels inside a PCL, because I'm developing a Windows 8.1 and Windows Phone app in parallel. I have a list of things inside my ViewModel as an ObservableCollection. I have a GridView inside a Page inside a Windows 8.1 project. I wish to incrementally load items from my list of things in my ViewModel. Normally I would implement ISupportIncrementalLoading inside a custom subclass of ObservableCollection, however, given that my ViewModel is inside a PCL, ISupportIncrementalLoading is not available (it's not supported by WP8). So my question is, does anyone have any suggestions as to

Deploying WCF on IIS 8.5

久未见 提交于 2019-12-03 03:58:10
I am attempting to deploy a IIS service application on IIS 8.5 but each time I attemp to connect to the service via http://localhost/test/WCFService.svc I get the following screen: When I go to turn Windows features On or OFF I have the following: My web.config looks as follows: <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> </appSettings> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5"/> </system.web> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior