What are the file types supported by MIP SDK? - microsoft-information-protection

Is there any complete list of file extensions supported by MIP SDK?
I was able to find a vague definition in
MIP SDK - File handler concepts and then something for AIP unified labeling client and AIP classic client but nothing specific to MIP SDK.
For example, I am getting the following error when processing a Microsoft Publisher (.pub) file:
CRITICAL:msole_prop_read: assertion 'len < 0x10000' failed (`anonymous-namespace'::GsfLogHandler:src\file\common\gsf_utils.cpp:20

This is the list: https://learn.microsoft.com/en-us/information-protection/develop/concept-supported-filetypes
Publisher files aren't supported for protection, only for labeling. Does that label attempt to apply protection?

Related

OperationCanceledException: Read was canceled on underlying PipeReader

am getting this type of error while moving to NET 6.0
Grpc.Core.RpcException : Status(StatusCode="Unknown", Detail="Exception was thrown by handler. OperationCanceledException: Read was canceled on underlying PipeReader.")
package: Google.Protobuf v (3.21.12)
NET 6.0
I tried different solution while downgrading the version of the package
but still facing the same issue
Message SOMETHING doesn't provide the generated method that enables WriteContext-based serialization. You might need to regenerate the generated protobuf code.
This comes from here
The problem here is that you're using (significantly) older generated code which does not support the pipe APIs; you should regenerate the code from the .proto, after updating protoc or Grpc.Tools or whatever mechanism you've used to turn the .proto schema into C#. This must include any nested message types; the SOMETHING in the above message tells you about any that are still needed.

Cannot AzureBlobStorage initialization in Bot Framework 4.9

I am implementing "AzureBlobStorage" by referencing "Microsoft.Bot.Builder.Azure", but when I initialize I get an error with "CloudStorageAccount".
Error CS7069 Reference to type 'CloudStorageAccount' claims it is defined in 'Microsoft.Azure.Storage.Common', but it could not be found QBotSolution
Solution Explorer:
It looks like Visual Studio can't determine which package you're trying to use. If you're just looking to do traditional bot state management, you should remove these packages:
Azure.Storage.Blobs
Microsoft.Azure.Cosmos.Table
Microsoft.Azure.Storage.Blob
Microsoft.Azure.Storage.Common
For bot Blob storage, you should only need Microsoft.Bot.Builder.Azure, so be sure to include using Microsoft.Bot.Builder.Azure; at the top of whatever file you're trying to use this in.
Here's a few good references:
State Management Sample
Write Directly to Storage - Using Blob Storage Docs
State Management Docs

MediaElement in WP7

In windows phone 7 .. I used medialement element to play mp3 audio from an URL ..
the first time the audio plays without any failure.. but when set the source for the second time it throws the following exception:
AG_E_NETWORK_ERROR
What could be the problem
Note: I tried to play the same audio file but also it didn't work.
This is due to the URL Limitations in Silverlight. A full description of the answer is here http://msdn.microsoft.com/en-us/library/cc189008(VS.95).aspx
For security reasons, the Silverlight runtime restricts access to
certain classes of URLs from the WebClient and HTTP classes in the
System.Net namespace. There are similar access restrictions applied by
the runtime to other classes including the Image and MediaElement
classes in the System.Windows.Controls namespace. The runtime also
applies access restrictions to XAML source files and font files based
on the class of URL. These restrictions are implemented in the
Silverlight 2 and later runtime. The connections affected are access
to cross-zone, cross-domain, and cross-scheme URLs. These restrictions
are designed to prevent networking threats (for example, threats based
on a Silverlight application run from an internet server getting
access to resources on a local intranet server).

WP7 market place reports "Exception(s) Applied: None"?

The Wp7 marketplace result pdf shows in summary "Exception(s) Applied: None". What does this mean. Should I write code to handle unhandled exceptions Or what I am doing is right.
The App is not rejected due to this, but I want to know what this means.
Thanks,
Kanaya
It means that you have not applied for any technical exceptions. These are a request for your application to not be tested against certain market place policy criteria. You can see some details about this on the Certification section of the FAQ (Under sections 3 and 4) as well as how to apply for exceptions.

Information on Microsoft's Software Quality Metrics (.sqm) file format?

i'm using Microsoft's SqmApi.dll library to add telemetry to an application. e.g.:
ISQM sqm = new Sqm("ContosoGrobber");
sqm.Increment(FileOpen, 1);
sqm.SetIfMax(QueryTime, stopWatch.Interval);
...
sqm.CloseSession(System.IO.Path.GetTempPath());
And now i have a .sqm file ready for me to WebRequest back to my web-server:
Now all i need is a way to crack open the guts inside the file:
ContosoGrobber00.sqm:
MSQMx šwD
€Ÿ¨¡•æÌp¿Ÿ¤•æ̈ºX¦Ô|NÕï'CðÆÏ
g
Has anyone figured out the undocumented internal format used by every Microsoft product created in the last 8 years?
It's obviously not Base64 encoded, so presumably compressed.
Bonus Reading
The Microsoft Customer Experience Improvement Program
Microsoft Open Specifications - Corporate Customer Experience Improvement Program Client-to-Server Protocol Specification
Channel 9 interview about Software Quality Metrics (SQM) with Partha Sundaram
Bonus Chatter
The Microsoft Customer Experience Improvement Program–Part 2
for privacy reasons Microsoft doesn’t share any details in public about the SQM file format. The SQM file basically contains header data and Datapoints.
Perhaps it's some kind of MS standard serialization of the wire protocol? The MS-SQMCS client-server protocol doc notes that the header begins with 0x4D51534D (hex for MSQM).

Resources