Does anyone know what are the codes in writing and reading of data in the Mifare 1K card?? we uses c#.
from DreamInCode, check the comment by Goethals:
"Pretty hard to find some decent
documentation on Smardcards isn't it?
Had some rough time trying to get it
work too some time ago. (Did not get
it to work completely yet, ran out of
time)
The best way i found as of yet is to
invoke the Winscard.dll api.
The following articles contain some
valuable information on how to:
http://www.aspfree.com/c/a/.NET/Smart-Cards-in-.NET/
http://www.aspfree.com/c/a/C-Sharp/Smart-C...in-.NET-Part-2/
http://www.aspfree.com/c/a/.NET/Smart-Cards-in-NET-Part-3/
Its C#, but that should not be a big
problem.
Some random info from the following
blog helped me too: (Contains
explenation for some of the error
codes.)
https://github.com/geersch/MonitoringSmartcardReader
On the MSDN website, there is also
some information regarding
Winscard.dll. (Do a search on Smard
Card or SCard, you should find some
articles.)
I also found some documentation on the
website of OmniKey. (The manifacturer
of the Smard Card Reader I am using.)
http://www.omnikey.com/index.php?id=68
The omnikey website is often down
though.
Hope this helps you out a bit. Cheers!
"
also you can check out (this in C) the RFID C Library
I've also just found out that mathias4u has developed a ACR122 plug-in that supports the mifare 1k, you can download it here
I hope that helps! :)
Related
Hello everyone and thank you for reading this. I am not sure where to post this issue so ill start here, feel free to direct me to the appropriate place to post this.
I have been looking into the Partner SDK sample (Github & Microsoft Docs) and I don't seem to find a specific scenario, I want to get the same data that the reconciliation file has on the CSP portal but in code (c#), the fields are the ones described HERE.
I have gone through the sample scenario's but couldn't find anything close to what I need. Can someone advise me where or what to look for? Thank you very much!
Kind regards!
The reconciliation files contain with two parts: "Summary" and "Daily Usage". All of them can be obtained by "Get invoice line items":
"Summary" - ../v1/invoices/{invoice-id}/lineitems/{provider}/BillingLineItems
"Daily Usage" - ../v1/invoices/{invoice-id}/lineitems/{provider}/UsageLineItems
https://learn.microsoft.com/en-us/partner-center/develop/get-invoiceline-items
So i have been trough the code more profoundly and have found what i was looking for (at least for now). I have created a combination of multiple functions and a custom export to csv (which fitted my needs).
Kind regards
Ok. I thought I would fix this rather easy, but I'm not getting anything to work for some reason. What I want to do is simple; I want to create a web part displaying the latest tweets from a specific user. I'm coding C#.
I found a great post here but it's using php.
Can anyone help me to perform this simple task?
You can find alot examples over internet
Web:
http://www.microsoft.com/web/post/learning-the-basics-of-using-the-twitter-api-in-aspnet-web-pages-with-razor-syntax
Console:
http://www.d80.co.uk/post/2011/02/13/A-Simple-Twitter-Client-in-C-with-OAUTH-using-TweetSharp.aspx
:)
I'm new to NFC programming and wanted to know how I can change the authentication access on a Mifare ultralight C tag.
I mean, can I make the tag write protected with a secret key as I would with Mifare Classic 1k, and then authenticate to write new data again?
There isn't much documentation out there explaining how to do this process...I have a ACR122 card reader to work on this, and I'm using C# to build a windows application.
Any help would be much appreciated, and/or if you have samples codes, that would be awesome.
I wanted to post my findings in case someone needs in the future. Although I'm still having problems figuring out how to write protect the Mifare Ultralight C tag temporarly. So in case someone knows how to do it, please let me know. Any sample code would be helpful.
So, found the docs that I needed to get more familiar with the Mifare Ultralight C tag and its security implementation, here are the links in case someones needs it.
http://www.nxp.com/documents/application_note/1303.pdf, http://www.nxp.com/documents/short_data_sheet/MF0ICU2_SDS.pdf, http://csrc.nist.gov/publications/nistpubs/800-67-Rev1/SP-800-67-Rev1.pdf, http://www.nxp.com/search?q=137631&type=keyword&rows=10
Is there a way to do this in MonoTouch?
http://definelabs.com/blogs/?p=17
I don't understand much of that Objective-C code...
I wrote an article on this: Accessing iPhone Album
I know this is an old post, but there is a demo app that I've created that lets you do the features Nicklas Savonen requested.
What this demo app does is, it will get the list of images from AssetLibrary and will load them in a UItableview, then maintain a selection status, the Tick image is just an overlay image that will be hidden/visible based on selection.
The following link explains the basic steps you need to take, since it would be difficult to understand by the project:
http://helpalittle.wordpress.com/2014/03/28/monotouch-multiple-image-picker/
And you can find the complete solution at the following path: https://onedrive.live.com/redir?resid=697F540B0A2F1506%21107
hope this helps.
I know am not helping much at this point, but you need to learn at least a bit of ObjectiveC to be able to read it. The issues is, that all the samples and plenty of resources for iOS development is in ObjC and converting it to Monotouch is not that complex, in fact all the constructs there have C# equivalent (the blocks in the sample you posted, are in fact anonymous methods).
More to the point, multiselection of the images is done in the iOS SDK 4.x, if I find some spare time this would be a nice little exercise for my blog.
As to what APIs to check for this, these are asset library APIs:
ALAssetsLibrary & ALAsset & ALAssetsGroup
in Monotouch there are classes in (pseudo code):
using MonoTouch.AssetsLibrary;
MonoTouch.AssetsLibrary.ALAsset;
MonoTouch.AssetsLibrary.ALAssetsLibrary;
MonoTouch.AssetsLibrary.ALAssetsGroup;
As a little learning project, I'd like to make a little app that reads data from a facebook users status updates. It's been done millions of times before, I'm sure, but is there an API or something? Would I need to signup for some Facebook developers license or anything, or is it as easy as finding the API, and then simply coding to it?
I'd like to simply get friends Status Updates via my login... seems easy enough. :)
The Facebook Developer links posted above are good, but it might be useful to look at some examples.
The Facebook C# SDK, found here: http://facebooksdk.codeplex.com/, has samples in ASP.NET MVC. It's a pretty simple project, so it should be relatively easy to see how things work in practice.
You can create an app at http://developers.facebook.com/
Then, download the sample project, replace the AppId and AppSecret with values from your registered app, and see how it works.
You can start reading here: http://developers.facebook.com/docs/
And look in the forum discussions here: http://forum.developers.facebook.net/index.php
This post was helpful to me http://gathadams.com/2007/06/18/how-to-write-a-facebook-application-in-10-minutes/
Also keep in mind this last change made for FB team about Post for canvas http://developers.facebook.com/docs/canvas/post/
Good luck!