I'm creating a MetroStyle app and I want to generate a MD5 code for my string. So far I've used this: public static string ComputeMD5(string str) { try { var alg = HashAlgorithmProvider.OpenAlgorithm("MD5"); IBuffer buff = CryptographicBuffer.ConvertStringToBinary(str, BinaryStringEncoding.Utf8); var hashed = alg.HashData(buff); var res = CryptographicBuffer.ConvertBinaryToString(BinaryStringEncoding.Utf8, hashed); return res; } [...] read more
I have a problem when a url contains Chinese characters. It doesn't happen every time, but when it does, I find the following errors in the event log: EventMessage No mapping for the Unicode character exists in the target multi-byte code page. (Exception from HRESULT: 0x80070459) EventStackTrace System.ArgumentOutOfRangeException: No mapping [...] read more
I used to be able to attach to the dotnet core (dotnet 2.2) process on my Mac Mojave. But it seems that after the installation of dotnet 3.0, it always fail to attach to the dotnet process with the following error: Unknown Error: 0x80070459. I have been googling this issue [...] read more
I use Q42.Winrt library to download html file to cache. But when i use ReadTextAsync i have exception: No mapping for the Unicode character exists in the target multi-byte code page. (Exception from HRESULT: 0x80070459) My code very simple var parsedPage = await WebDataCache.GetAsync(new Uri(String.Format("http://someUrl.here"))); var parsedStream = await FileIO.ReadTextAsync(parsedPage); [...] read more
I used phogap function for recording audio and uploading audio , file. Audio File is recording and stored in music folder and I get the path and name of the file by the below function. function captureSuccess(mediaFiles) { var i, len; for (i = 0, len = mediaFiles.length; i < [...] read more