c# Programming Glossary: portable
Get MIME type from filename extension http://stackoverflow.com/questions/1029740/get-mime-type-from-filename-extension certreqresp .p7s application pkcs7 signature .pbm image x portable bitmap .pcast application x podcast .pct image pict .pcx application.. octet stream .pfx application x pkcs12 .pgm image x portable graymap .pic image pict .pict image pict .pkgdef text plain.. .pmw application x perfmon .png image png .pnm image x portable anymap .pnt image x macpaint .pntg image x macpaint .pnz image..
How to read a CSV file into a .NET Datatable http://stackoverflow.com/questions/1050112/how-to-read-a-csv-file-into-a-net-datatable using the structure of the data to create the DataTable A portable and efficient generic parser for flat files It's easy to configure..
c# open file with default application and parameters http://stackoverflow.com/questions/11365984/c-sharp-open-file-with-default-application-and-parameters the path of the application and I would like to have a portable application and not to have to set the path of the applications..
C# int to byte[] http://stackoverflow.com/questions/1318933/c-sharp-int-to-byte intBytes byte result intBytes For the code to be most portable however you can do it like this int intValue byte intBytes BitConverter.GetBytes..
How to convert a simple .Net console project a into portable exe with Mono and mkbundle? http://stackoverflow.com/questions/1321207/how-to-convert-a-simple-net-console-project-a-into-portable-exe-with-mono-and-m to convert a simple .Net console project a into portable exe with Mono and mkbundle I'd like to convert my simple pure.. to convert my simple pure .Net 2.0 console utility into a portable exe which I could just put on an USB stick and run without having..
Best way to check if a DLL file is a CLR assembly in C# http://stackoverflow.com/questions/1366503/best-way-to-check-if-a-dll-file-is-a-clr-assembly-in-c-sharp Enumeration NotAPortableExecutableImage The file is not in portable executable PE file format. ILOnly The executable contains only..
Upload a folder by FTP http://stackoverflow.com/questions/2252000/upload-a-folder-by-ftp for you. It's available as single no install executable as portable executable has a command line interface and allows mirroring..
Encoding problem with HttpWebResponse http://stackoverflow.com/questions/227575/encoding-problem-with-httpwebresponse probably want Encoding.Default but that's obviously not portable as it's the default encoding for your PC. In a well run web..
Winforms vs WPF http://stackoverflow.com/questions/2703681/winforms-vs-wpf etc is usable in more places Silverlight Phone 7 and more portable Moonlight etc . Most MS future efforts are towards WPF but winforms..
Checking stack size in C# http://stackoverflow.com/questions/2901185/checking-stack-size-in-c-sharp struct . Note that this technique isn't particularly portable nor is it future proof. The use of pinvoke limits the utility..
Is there a way of making strings file-path safe in c#? http://stackoverflow.com/questions/333175/is-there-a-way-of-making-strings-file-path-safe-in-c which characters are valid. Besides being completely non portable always thinking about Mono both of the earlier comments missed..
Writing a DLL in C/C++ for .Net interoperability http://stackoverflow.com/questions/3726829/writing-a-dll-in-c-c-for-net-interoperability API like the Windows API itself. This is the most portable but isn't as convenient for your callers as using a class model.. This is a lot more work in the library but extremely portable and easy for the consumer to use. And there is one thing absolutely..
How to embed a text file in a .NET assembly? http://stackoverflow.com/questions/433171/how-to-embed-a-text-file-in-a-net-assembly I need is contained within the exe. So that it's more portable Is there a way to do this I assume something with the resource..
C# DLL config file http://stackoverflow.com/questions/594298/c-sharp-dll-config-file the same process you would use for creating an arbitrary portable config file not tied to any particular assembly but for which..
What is the point of the ISerializable interface? http://stackoverflow.com/questions/810974/what-is-the-point-of-the-iserializable-interface does include hooks for ISerializable allowing you to use a portable binary format without writing lots of code but BinaryFormatter..
How to check the machine type? laptop or desktop? http://stackoverflow.com/questions/1013354/how-to-check-the-machine-type-laptop-or-desktop works well on my home machine Win2003 on laptop it returns Portable but failed on my work machine Vista on laptop it returns Other.. Unknown Desktop LowProfileDesktop PizzaBox MiniTower Tower Portable Laptop Notebook Handheld DockingStation AllInOne SubNotebook.. ChassisTypes 1 10 Win32_Battery or Win32_PortableBattery Win32_PCMCIAController Win32_DriverVXD.Name pccard Win32_ComputerSystem.Manufacturer..
Portable class library equivalent of Dispatcher.Invoke or Dispatcher.RunAsync http://stackoverflow.com/questions/11258164/portable-class-library-equivalent-of-dispatcher-invoke-or-dispatcher-runasync class library equivalent of Dispatcher.Invoke or Dispatcher.RunAsync.. which is not available in WP7 but definitely will be soon. PortableDispatcher must be created on the UI thread and then made accessible.. as a property in my ViewModel base class. public class PortableDispatcher private TaskScheduler taskScheduler TaskScheduler.FromCurrentSynchronizationContext..
Run one instance of program http://stackoverflow.com/questions/11923785/run-one-instance-of-program ok static Mutex mutex new Mutex true 123Newsoft Cleaner Portable Program123 out ok summary The main entry point for the application...
Are there any REST libraries out there that work with Portable Class Libraries? http://stackoverflow.com/questions/13547479/are-there-any-rest-libraries-out-there-that-work-with-portable-class-libraries there any REST libraries out there that work with Portable Class Libraries I am developing a portable class library that..
Portable Class library and reflection http://stackoverflow.com/questions/14061291/portable-class-library-and-reflection Class library and reflection I am building new application.. 8 store and Windows phone at the same time. so I created Portable Class library to have common functionality across all platforms... still available on .NET 4.5 and Windows Phone 8. For Portable Class Libraries if you target only platforms where the new reflection..
How to execute an executable embedded as resource http://stackoverflow.com/questions/2176122/how-to-execute-an-executable-embedded-as-resource load by hand which will require some knowledge of the PE Portable Executable file format used for modules such as DLLs and EXEs..
|