Git Product home page Git Product logo

mxutils's Introduction

MXUtils

A set of classes to perform common tasks

MX.StringListConv

TStringListConv provides methods for simple convert between TArray, TStringList, TStrings, TStringDynArray.

MX.SimpleLogger

TSimpleLogger implements ILogger and supports the following log destinations:

  • Windows Debug Output
  • Console
  • Event Log
  • File
  • TStrings instance

MX.PEInfoRetriever

TPEInfoRetriever provides the following methods:

  • GetFileHash(AFilePath, AHashName: string): string
  • GetFileSize(AFilePath: string): int64
  • GetShortVersionNum(AFilePath: string): string
  • GetFullVersionNum(AFilePath: string): string

MX.ObjectCloner

TObjectCloner can clone simple objects using Data.DBXJSONReflect marshall/unmarshall.

MX.MarshalManager

TUnmarshalManager implements IUnmarshalManager and can unmarshal objects from TJSONValue, TBytes, JSON string and JSON file.

TMarshalManager implements IMarshalManager and can marshal objects to TJSONValue, TBytes, JSON string and JSON file.

MX.ExeRunner

TExeRunner implements IExeRunner and has two methods:

  • RunAndWait(AFilePath: string; AParameters: string = string.Empty)
  • Run(AFilePath: string; AParameters: string = string.Empty)

MX.DeviceInfo

TDeviceInfo provides the following methods:

  • CPUCores: integer;
  • OSVersion: string;
  • Resolution: string;
  • DisplayNames: TArray; and DisplayNamesStr: string;
  • MemoryPercentInUse: DWORD;
  • MemoryTotalPhys: DWORDLONG;
  • MemoryAvailPhys: DWORDLONG;
  • MemoryTotalVirtual: DWORDLONG;
  • MemoryAvailVirtual: DWORDLONG;
  • UserName: string;
  • ComputerName: string;
  • TimeZone: string;
  • HardwareProfile: string;
  • InstalledUpdatesList: TArray;
  • ISHotFixID_Installed(const HotFixID: string): boolean;
  • HardDiskCSerialNumber: string;

mxutils's People

Contributors

magicxor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.