Featured Image

Laplink's Chief Architect Dan Spear Uses PCmover to Demonstrate Reflection in Scripting Language


Need a way to reuse C# code in your scripting language? Look no further than the power of reflection! In the recently published article, Laplink Chief Architect Dan Spear collaborates with CODE Author Vassili Kaplan to demonstrate how to incorporate reflection into scripting language, using the example of Laplink's PCmover transfer software


Using reflection in your scripting language is a powerful way to reuse existing C# code and create customized scripts that go beyond the limitations of the user interface. With Customized Scripting in C# (CSCS), you can easily access existing .NET libraries and customize the way the service works to meet your specific needs. 


The benefits of using scripting with reflection are numerous. For example, customize the way the service works by selecting specific computers or transferring only a certain number of files, or add extra security checks to certain types of transfers. By using scripting, you can open up all the capabilities of the PCmover service to customers without having to create custom versions of the GUI.


To implement scripting with reflection, Spear and Kaplan recommend using CSCS. This lightweight and easy-to-use open-source language resembles JavaScript with a few differences, such as case-insensitive variable and function names. With very little code, one can access existing .NET code via scripting. Read the full article >

About Laplink Software

Trusted for over 40 years, Laplink continues to be a global leader in consumerSMB, and enterprise PC migration software, and has earned the loyalty and trust of millions of organizations and customers worldwide. The company’s PCmover software saves time and budget, reduces migration risks, and increases efficiency. Only PCmover’s proprietary technology includes full selectivity that transfers data, applications, and settings from an old PC to a new one, even if the two PCs run different versions of Windows. The privately held company was founded in 1983 and is headquartered in Bellevue, Washington.

Back to Blog

Add Comment

Related Articles

Complete Your Toolset for Efficient PC Deployments with Laplink’s PCmover Enterprise

Download the PDF Any organization that purchases new PCs for its employees each year will know...

Laplink Software Celebrates 40 Years of Business Success

Laplink Software, the global leader in Windows endpoint data migration software, is celebrating its...

Laplink Reduces Support Costs with Copilot for RMM Solution Laplink Everywhere

Laplink is proud to announce the availability of Laplink Everywhere with new AI-powered copilot...