What is the package or reference for MimeReader? - mime

I have been searching through the net for the package and reference required to use MimeReader but to no avail.
I imported MimeKit but MimeReader is not available.
Is the functionality depreciated or am I looking for the wrong keyword?
Usage: MimeReader mime = new MimeReader();
Any help would be greatly appreciated.

MimeReader is part of Microsoft.Exchange.Data: https://learn.microsoft.com/en-us/previous-versions/office/exchange-server-api/aa579311(v=exchg.150)
There is no nuget package for this API.
I believe these assemblies are only available if you have the Microsoft Exchange SDK.
Update: MimeKit >= v3.0 now has a MimeReader class, but it does not have an identical API to the MimeReader in Microsoft.Exchange.Data

Related

Unable to get gRPC to work in Xamarin Android

I have created a Xamarin Android project. Via NuGet, I have added a reference to the Grpc package.
In my activity, I want to create a Grpc.Core.Server instance, but it won't let me because of the following runtime error:
System.IO.FileNotFoundException: Error loading native library. Not found in any of the possible locations: /storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/libgrpc_csharp_ext.x64.so,/storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/runtimes/linux/native/libgrpc_csharp_ext.x64.so,/storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/../../runtimes/linux/native/libgrpc_csharp_ext.x64.so
I haven't been able to find any information on this for Xamarin, only iOS, so I am hoping someone here can provide a suggestion on how to proceed.
Please note that gRPC c# support for Xamarin is currently experimental. The stable packages in nuget.org don't provide the support yet (that will change with the upcoming v1.15.x release).
See HelloWorldXamarin instructions on how to obtain the correct nuget package (or use the https://www.nuget.org/packages/Grpc.Core/1.15.0-pre1 pre-release package which already supports Xamarin):
https://github.com/grpc/grpc/tree/master/examples/csharp/HelloworldXamarin#experimental-only
You might also need this workaround if you are using Xamarin.Forms: https://github.com/grpc/grpc/issues/16250

MSAL function missing - FirstOrDefault()

I'm trying to follow the examples online (https://learn.microsoft.com/en-us/azure/active-directory/develop/guidedsetups/active-directory-windesktop) but don't appear to have the correct library installed...?
Via NuGet cmdline: Install-Package Microsoft.Identity.Client -Pre
All the examples on the internet use a method that's part of the PublicClientApplication class, PublicClientApp.Users.FirstOrDefault() to get the same auth token that was received when following the SignOn dialogs. However this method does not apparently exist in my codebase!?!?!
Does anyone have any insights as to why this might be? Or insights as to the new workaround for this subject? I believe the content i'm using hasn't been modified since April 2017..
Microsoft.Identity.Client version = 1.1.2.0, runtime version v4.0.30319
Adding a reference to System.Linq resolved the issue originally stated..

How to integrate SSO login in Xamarin

Can you please help me to integrate Single-Sign-On login in Xamarin, Any one gives initiative Idea about it are highly appreciable.
Severity Code Description Project File Line Suppression State
Error Could not install package 'Sunpoin.SSO.Plugin 1.0.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
I think Sunpoin.SSO.Plugin is a plugin for websites. You must use one that is compatible with MonoAndroid and if possible with PCL binaries.
I recommend you use Xamarin.Auth this component helps you to make an SSO in your Xamarin app.
Here's the best example in StackOverFlow and a tutorial on it.
Good luck

Microsoft IdentityModel Clients ActiveDirectory compatibility with PCL

I am looking for a resource (link, website, document, another stackoverflow thread etc.) which can tell me how to set up the Portable Class Library targets so that it can be compatible with specific version of NuGet Package of Microsoft.IdentityModel.Clients.ActiveDirectory.
Just in case whoever stumbling upon same issue, found a good link describing the fix.
http://www.appzinside.com/2016/08/12/installing-adal-nuget-package-for-portable-xamarin-project-causes-an-error/

The javax.comm package

I've searched far and wide for the javax.comm package, but I cannot find it anywhere. There is a download site for it at oracle, but it's just the API for it. Does anybody know where I can obtain the package? Thanks in advance!
This package is apparently lost in the Oracle nether regions. You can find an answer that has a link to the old package here:
How to get javax.comm API?

Resources