Welcome To Snipplr


Everyone's Recent C# Snippets



« Prev 1 2 3 4 5 ... 16
count the folders and subfolders of a directory
0 1286 posted 4 years ago by martinbrait
Using foreach to loop over each character letter in a string. Microsoft Official Reference: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/foreach-in Explanations from other websites: https://www.dotnetperls.com/loop-...
0 1053 posted 6 years ago by clinaq
Microsoft Official Documentation: https://msdn.microsoft.com/en-us/library/8s62fh68(v=vs.110).aspx
0 1161 posted 6 years ago by clinaq
The Export function will convert an array of objects into a single CSV string. The Import function will read from a TextReader that has CSV data and convert one data row to an array of strings. Each time this is called, it will convert another data...
0 1391 posted 7 years ago by danh955
This technical tip shows how to Set Line Spacing of the Paragraph in a Shape or Textbox in .NET applications. You can set the line space of the paragraph, its space before and space after using the TextParagraph.LineSpace, TextParagraph.SpaceBefore a...
0 1793 posted 7 years ago by sherazam
This technical tip shows how .NET developers can add line object to an Existing PDF File inside their .NET applications. Aspose.Pdf for .NET supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. You als...
0 1674 posted 7 years ago by sherazam
This Technical tip explains how .NET developers can render an image of 3D model from the camera inside their .NET applications. Using Aspose.3D for .NET, developers can render an image to view a realistic image of 3D model, with or without the enhanc...
0 1017 posted 7 years ago by sherazam
This technical tip explains how .NET developers can Crop an EMF Image inside their .NET applications. Image cropping usually refers to the removal of the outer parts of an image to help improve the framing. Cropping may also be used to cut out some p...
0 979 posted 7 years ago by sherazam
This technical tip shows how to convert PDF pages to TIFF image inside .NET Applications. The TiffDevice class allows you to convert PDF pages to TIFF images. This class provides a method named Process which allows you to convert all the pages in a...
0 1539 posted 7 years ago by sherazam
This technical tip explains how .NET developers can Copy Message from one Mailbox folder to another. Aspose.Email API provides the capability to copy message from one mailbox folder to another. It allows copying a single as well as multiple messages...
0 1051 posted 7 years ago by sherazam
This source code uses public classes and interfaces exposed by GroupDocs.Metadata for .NET to clean metadata from the documents created by a particular author in some directory. Steps include: 1) Scan all documents from an author in a directory (i...
0 842 posted 7 years ago by muhammadsabir
This technical tip explains how to .NET developers can list email messages with paging support inside their .NET Applications. In scenarios, where the email server contains a large number of messages in mailbox, it is often desired to list or retriev...
0 1141 posted 7 years ago by sherazam
Simple record that the content is a Image.
0 1139 posted 8 years ago by gofast505
Simple script to save Cognex Image using ImageFile.
0 2257 posted 8 years ago by gofast505
Configure program for CalAmp lmu-800 and skypatrol nitro gps avl , (works with every device who support AT Command)
0 747 posted 8 years ago by hidroxido
remove border in excel from C#
0 1434 posted 8 years ago by billi8324
Tripwire is a special part of motion detection that can be used to monitor and alert on specific changes. More specifically: tripwire means the detection of intrusion. This code snippet presents how to create a C# software by using prewritten comp...
0 1139 posted 8 years ago by chewie-wookiee
I had a go at softphone development some months ago. It isn’t secret that I want to build a powerful IVR system to make the current call centers much more effective. Yes, there are many similar software available on the market for this purpose, but...
0 990 posted 8 years ago by sacha-manji
I had a go at softphone development some months ago. It isn’t secret that I want to build a powerful IVR system to make the current call centers much more effective. Yes, there are many similar software available on the market for this purpose, but...
0 961 posted 8 years ago by sacha-manji
A conference call is a meeting, conducted over the phone using audio, between two or more people and usually for the purposes of discussing a particular topic. In my former snippets I dealt with text-to-speech and speech-to-text functionalities. So t...
0 1332 posted 8 years ago by warnerBro19
In my previous snippet I have written about converting text to speech using C#. This code snippet can be used not just for allowing your computer to read txt aloud, but also for speech recognition. To implement this functionality I used Microsoft Sp...
0 1467 posted 9 years ago by warnerBro19
I have heard about this solution on the Facebook, and I thought it is worth to share my source code to help other developers interested in converting text to speech using C#. Text-to-speech refers to the ability of computers to read txt aloud. This f...
1 1065 posted 9 years ago by warnerBro19
I am really interested in Computer Vision technology, so I started to dig deeper in this topic. This is how I found the code below for edge detection, a method belonging to object detection. If you are interested in implementing edge detection in C#...
0 1093 posted 9 years ago by DaniBarros
You can find the full source code for corner detection here. I found this solution on www.camera-sdk.com and it worked for me fine. I created a Visual C# WPF application in Visual Studio, and added two .dll files (VOIPSDK.dll and NVA.dll) to the refe...
0 960 posted 9 years ago by MahendraGadhavi
If you wish to make your home, office or warehouse more secure, taking frame captures can be a very useful solution for you. And I can tell you this because I’ve already implemented this function at my office. Now I am sharing the prewritten source...
0 1485 posted 9 years ago by AdrianVasilyev
Use the code below to lookup IP address in bulk using C-Sharp programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor's IP address. Free databases are a...
0 1189 posted 9 years ago by Hexahow
While searching on the Internet on how to make SIP video calls using C#, I recognised that there aren’t any brief and straightforward tutorial in this topic. I found multi-page articles (sorry, but some of them are full of bullsh*t) and neverending...
0 1128 posted 9 years ago by sacha-manji
This is a simple example to quickly and easily produce a set of links for a given site in your bookmarks from Firefox..
0 819 posted 9 years ago by xXxPizzaBreakfastxXx
Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.g. country, state, city, latitude/longitude, ZIPs, timezone and so on. Free database can be downloaded at http://lite.ip2location.com.
0 2914 posted 9 years ago by Hexahow
If you are using c++/cli or UnmanagedExports, this is a useful way to share enum int values between c++ and c# code/DLLs without worrying about duplicated code going out of date.
0 1077 posted 9 years ago by xXxPizzaBreakfastxXx
« Prev 1 2 3 4 5 ... 16